@@ -1642,6 +1642,56 @@ export interface IEventNamePropertyMapping {
16421642 */
16431643 inProjectIsDifferent ?: boolean ;
16441644 } ;
1645+ /**
1646+ * Telemetry containing performance metrics for Native Finder.
1647+ */
1648+ /* __GDPR__
1649+ "native_finder_perf" : {
1650+ "duration" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1651+ "breakdownLocators" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1652+ "breakdownPath" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1653+ "breakdownGlobalVirtualEnvs" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1654+ "breakdownWorkspaces" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1655+ "locatorConda" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1656+ "locatorHomebrew" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1657+ "locatorLinuxGlobalPython" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1658+ "locatorMacCmdLineTools" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1659+ "locatorMacPythonOrg" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1660+ "locatorMacXCode" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1661+ "locatorPipEnv" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1662+ "locatorPoetry" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1663+ "locatorPyEnv" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1664+ "locatorVenv" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1665+ "locatorVirtualEnv" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1666+ "locatorVirtualEnvWrapper" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1667+ "locatorWindowsRegistry" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1668+ "locatorWindowsStore" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "donjayamanne" },
1669+ }
1670+ */
1671+ [ EventName . NATIVE_FINDER_PERF ] : {
1672+ /**
1673+ * Total duration to find envs using native locator.
1674+ */
1675+ duration : number ;
1676+ breakdownLocators ?: number ;
1677+ breakdownPath ?: number ;
1678+ breakdownGlobalVirtualEnvs ?: number ;
1679+ breakdownWorkspaces ?: number ;
1680+ locatorConda ?: number ;
1681+ locatorHomebrew ?: number ;
1682+ locatorLinuxGlobalPython ?: number ;
1683+ locatorMacCmdLineTools ?: number ;
1684+ locatorMacPythonOrg ?: number ;
1685+ locatorMacXCode ?: number ;
1686+ locatorPipEnv ?: number ;
1687+ locatorPoetry ?: number ;
1688+ locatorPyEnv ?: number ;
1689+ locatorVenv ?: number ;
1690+ locatorVirtualEnv ?: number ;
1691+ locatorVirtualEnvWrapper ?: number ;
1692+ locatorWindowsRegistry ?: number ;
1693+ locatorWindowsStore ?: number ;
1694+ } ;
16451695 /**
16461696 * Telemetry event sent when discovery of all python environments using the native locator(virtualenv, conda, pipenv etc.) finishes.
16471697 */
0 commit comments