@@ -65,6 +65,9 @@ export enum EventNames {
6565 * the timer is cancelled and this event never fires.
6666 * Properties:
6767 * - failureStage: string (which phase was in progress when the watchdog fired)
68+ * Measures:
69+ * - duration: total elapsed since activation
70+ * - stageDuration: elapsed in the current stage
6871 */
6972 SETUP_HANG_DETECTED = 'SETUP.HANG_DETECTED' ,
7073 /**
@@ -103,12 +106,10 @@ export enum EventNames {
103106 ENV_SELECTION_RESULT = 'ENV_SELECTION.RESULT' ,
104107 /**
105108 * Telemetry event fired when applyInitialEnvironmentSelection returns.
106- * Duration measures the blocking time (excludes deferred global scope).
107109 * Properties:
108- * - globalScopeDeferred: boolean (true = global scope fired in background, false = awaited)
109- * - workspaceFolderCount: number (total workspace folders)
110- * - resolvedFolderCount: number (folders that resolved with a non-undefined env)
111- * - settingErrorCount: number (user-configured settings that could not be applied)
110+ * - globalScopeDeferred: boolean (true = global scope fired in background)
111+ * Measures:
112+ * - duration, workspaceFolderCount, resolvedFolderCount, settingErrorCount
112113 */
113114 ENV_SELECTION_COMPLETED = 'ENV_SELECTION.COMPLETED' ,
114115 /**
@@ -381,7 +382,8 @@ export interface IEventNamePropertyMapping {
381382 /* __GDPR__
382383 "setup.hang_detected": {
383384 "failureStage": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "StellaHuang95" },
384- "<duration>": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "StellaHuang95" }
385+ "<duration>": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "eleanorjboyd" },
386+ "<stageDuration>": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "eleanorjboyd" }
385387 }
386388 */
387389 [ EventNames . SETUP_HANG_DETECTED ] : {
@@ -451,9 +453,6 @@ export interface IEventNamePropertyMapping {
451453 */
452454 [ EventNames . ENV_SELECTION_COMPLETED ] : {
453455 globalScopeDeferred : boolean ;
454- workspaceFolderCount : number ;
455- resolvedFolderCount : number ;
456- settingErrorCount : number ;
457456 } ;
458457
459458 /* __GDPR__
0 commit comments