@@ -1144,9 +1144,124 @@ export interface IEventNamePropertyMapping {
11441144 "duration" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "karrtikr" },
11451145 "interpreters" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true , "owner": "karrtikr"},
11461146 "environmentsWithoutPython" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "karrtikr" }
1147+ "usingNativeLocator" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "donjayamanne" }
1148+ "activeStateEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1149+ "condaEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1150+ "customEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1151+ "hatchEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1152+ "microsoftStoreEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1153+ "otherGlobalEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1154+ "otherVirtualEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1155+ "pipEnvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1156+ "poetryEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1157+ "pyenvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1158+ "systemEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1159+ "unknownEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1160+ "venvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1161+ "virtualEnvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1162+ "virtualEnvWrapperEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
11471163 }
11481164 */
11491165 [ EventName . PYTHON_INTERPRETER_DISCOVERY ] : {
1166+ /**
1167+ * The number of the interpreters discovered
1168+ */
1169+ interpreters ?: number ;
1170+ /**
1171+ * Whether or not we're using the native locator.
1172+ */
1173+ usingNativeLocator ?: boolean ;
1174+ /**
1175+ * The number of environments discovered not containing an interpreter
1176+ */
1177+ environmentsWithoutPython ?: number ;
1178+ /**
1179+ * Number of environments of a specific type
1180+ */
1181+ activeStateEnvs ?: number ;
1182+ /**
1183+ * Number of environments of a specific type
1184+ */
1185+ condaEnvs ?: number ;
1186+ /**
1187+ * Number of environments of a specific type
1188+ */
1189+ customEnvs ?: number ;
1190+ /**
1191+ * Number of environments of a specific type
1192+ */
1193+ hatchEnvs ?: number ;
1194+ /**
1195+ * Number of environments of a specific type
1196+ */
1197+ microsoftStoreEnvs ?: number ;
1198+ /**
1199+ * Number of environments of a specific type
1200+ */
1201+ otherGlobalEnvs ?: number ;
1202+ /**
1203+ * Number of environments of a specific type
1204+ */
1205+ otherVirtualEnvs ?: number ;
1206+ /**
1207+ * Number of environments of a specific type
1208+ */
1209+ pipEnvEnvs ?: number ;
1210+ /**
1211+ * Number of environments of a specific type
1212+ */
1213+ poetryEnvs ?: number ;
1214+ /**
1215+ * Number of environments of a specific type
1216+ */
1217+ pyenvEnvs ?: number ;
1218+ /**
1219+ * Number of environments of a specific type
1220+ */
1221+ systemEnvs ?: number ;
1222+ /**
1223+ * Number of environments of a specific type
1224+ */
1225+ unknownEnvs ?: number ;
1226+ /**
1227+ * Number of environments of a specific type
1228+ */
1229+ venvEnvs ?: number ;
1230+ /**
1231+ * Number of environments of a specific type
1232+ */
1233+ virtualEnvEnvs ?: number ;
1234+ /**
1235+ * Number of environments of a specific type
1236+ */
1237+ virtualEnvWrapperEnvs ?: number ;
1238+ } ;
1239+ /**
1240+ * Telemetry event sent when discovery of all python environments using the native locator(virtualenv, conda, pipenv etc.) finishes.
1241+ */
1242+ /* __GDPR__
1243+ "python_interpreter_discovery_native" : {
1244+ "duration" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1245+ "interpreters" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true , "owner": "donjayamanne"},
1246+ "environmentsWithoutPython" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" }
1247+ "activeStateEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1248+ "condaEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1249+ "customEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1250+ "hatchEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1251+ "microsoftStoreEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1252+ "otherGlobalEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1253+ "otherVirtualEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1254+ "pipEnvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1255+ "poetryEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1256+ "pyenvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1257+ "systemEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1258+ "unknownEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1259+ "venvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1260+ "virtualEnvEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1261+ "virtualEnvWrapperEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1262+ }
1263+ */
1264+ [ EventName . PYTHON_INTERPRETER_DISCOVERY_NATIVE ] : {
11501265 /**
11511266 * The number of the interpreters discovered
11521267 */
@@ -1155,6 +1270,66 @@ export interface IEventNamePropertyMapping {
11551270 * The number of environments discovered not containing an interpreter
11561271 */
11571272 environmentsWithoutPython ?: number ;
1273+ /**
1274+ * Number of environments of a specific type
1275+ */
1276+ activeStateEnvs ?: number ;
1277+ /**
1278+ * Number of environments of a specific type
1279+ */
1280+ condaEnvs ?: number ;
1281+ /**
1282+ * Number of environments of a specific type
1283+ */
1284+ customEnvs ?: number ;
1285+ /**
1286+ * Number of environments of a specific type
1287+ */
1288+ hatchEnvs ?: number ;
1289+ /**
1290+ * Number of environments of a specific type
1291+ */
1292+ microsoftStoreEnvs ?: number ;
1293+ /**
1294+ * Number of environments of a specific type
1295+ */
1296+ otherGlobalEnvs ?: number ;
1297+ /**
1298+ * Number of environments of a specific type
1299+ */
1300+ otherVirtualEnvs ?: number ;
1301+ /**
1302+ * Number of environments of a specific type
1303+ */
1304+ pipEnvEnvs ?: number ;
1305+ /**
1306+ * Number of environments of a specific type
1307+ */
1308+ poetryEnvs ?: number ;
1309+ /**
1310+ * Number of environments of a specific type
1311+ */
1312+ pyenvEnvs ?: number ;
1313+ /**
1314+ * Number of environments of a specific type
1315+ */
1316+ systemEnvs ?: number ;
1317+ /**
1318+ * Number of environments of a specific type
1319+ */
1320+ unknownEnvs ?: number ;
1321+ /**
1322+ * Number of environments of a specific type
1323+ */
1324+ venvEnvs ?: number ;
1325+ /**
1326+ * Number of environments of a specific type
1327+ */
1328+ virtualEnvEnvs ?: number ;
1329+ /**
1330+ * Number of environments of a specific type
1331+ */
1332+ virtualEnvWrapperEnvs ?: number ;
11581333 } ;
11591334 /**
11601335 * Telemetry event sent with details when user clicks the prompt with the following message:
0 commit comments