@@ -1479,6 +1479,65 @@ export interface IEventNamePropertyMapping {
1479
1479
*/
1480
1480
missingFromOtherRcEnvDirs ?: number ;
1481
1481
} ;
1482
+ /**
1483
+ * Telemetry event sent when Native finder fails to find some conda envs.
1484
+ */
1485
+ /* __GDPR__
1486
+ "native_finder_missing_poetry_envs" : {
1487
+ "missing" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1488
+ "missingInPath" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1489
+ "userProvidedPoetryExe" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1490
+ "poetryExeNotFound" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1491
+ "globalConfigNotFound" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1492
+ "cacheDirNotFound" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1493
+ "cacheDirIsDifferent" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1494
+ "virtualenvsPathNotFound" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1495
+ "virtualenvsPathIsDifferent" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1496
+ "inProjectIsDifferent" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" },
1497
+ }
1498
+ */
1499
+ [ EventName . NATIVE_FINDER_MISSING_POETRY_ENVS ] : {
1500
+ /**
1501
+ * Number of missing poetry environments.
1502
+ */
1503
+ missing : number ;
1504
+ /**
1505
+ * Total number of missing envs, where the envs are created in the virtualenvs_path directory.
1506
+ */
1507
+ missingInPath : number ;
1508
+ /**
1509
+ * Whether a poetry exe was provided by the user.
1510
+ */
1511
+ userProvidedPoetryExe ?: boolean ;
1512
+ /**
1513
+ * Whether poetry exe was not found.
1514
+ */
1515
+ poetryExeNotFound ?: boolean ;
1516
+ /**
1517
+ * Whether poetry config was not found.
1518
+ */
1519
+ globalConfigNotFound ?: boolean ;
1520
+ /**
1521
+ * Whether cache_dir was not found.
1522
+ */
1523
+ cacheDirNotFound ?: boolean ;
1524
+ /**
1525
+ * Whether cache_dir found was different from that returned by poetry exe.
1526
+ */
1527
+ cacheDirIsDifferent ?: boolean ;
1528
+ /**
1529
+ * Whether virtualenvs.path was not found.
1530
+ */
1531
+ virtualenvsPathNotFound ?: boolean ;
1532
+ /**
1533
+ * Whether virtualenvs.path found was different from that returned by poetry exe.
1534
+ */
1535
+ virtualenvsPathIsDifferent ?: boolean ;
1536
+ /**
1537
+ * Whether virtualenvs.in-project found was different from that returned by poetry exe.
1538
+ */
1539
+ inProjectIsDifferent ?: boolean ;
1540
+ } ;
1482
1541
/**
1483
1542
* Telemetry event sent when discovery of all python environments using the native locator(virtualenv, conda, pipenv etc.) finishes.
1484
1543
*/
0 commit comments