Skip to content

Commit f7454cf

Browse files
author
Kartik Raj
committed
update name
1 parent 7020d70 commit f7454cf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/client/languageServer/watcher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class LanguageServerWatcher implements IExtensionActivationService, ILang
178178
// Start the language server.
179179
if (startupStopWatch) {
180180
// It means that startup is triggering this code, track time it takes since startup to activate this code.
181-
sendTelemetryEvent(EventName.LANGUAGE_SERVER_TRIGGER_DURATION, startupStopWatch.elapsedTime, {
181+
sendTelemetryEvent(EventName.LANGUAGE_SERVER_TRIGGER_TIME, startupStopWatch.elapsedTime, {
182182
triggerTime: startupStopWatch.elapsedTime,
183183
});
184184
}

src/client/telemetry/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export enum EventName {
6464
EXTENSION_SURVEY_PROMPT = 'EXTENSION_SURVEY_PROMPT',
6565

6666
LANGUAGE_SERVER_ENABLED = 'LANGUAGE_SERVER.ENABLED',
67-
LANGUAGE_SERVER_TRIGGER_DURATION = 'LANGUAGE_SERVER.TRIGGER_DURATION',
67+
LANGUAGE_SERVER_TRIGGER_TIME = 'LANGUAGE_SERVER_TRIGGER_TIME',
6868
LANGUAGE_SERVER_STARTUP = 'LANGUAGE_SERVER.STARTUP',
6969
LANGUAGE_SERVER_READY = 'LANGUAGE_SERVER.READY',
7070
LANGUAGE_SERVER_TELEMETRY = 'LANGUAGE_SERVER.EVENT',

src/client/telemetry/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,12 @@ export interface IEventNamePropertyMapping {
13291329
* Track how long it takes to trigger language server activation code, after Python extension starts activating.
13301330
*/
13311331
/* __GDPR__
1332-
"language_server_trigger_duration" : {
1332+
"language_server_trigger_time" : {
13331333
"duration" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "karrtikr" },
13341334
"triggerTime" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "owner": "karrtikr" }
13351335
}
13361336
*/
1337-
[EventName.LANGUAGE_SERVER_TRIGGER_DURATION]: {
1337+
[EventName.LANGUAGE_SERVER_TRIGGER_TIME]: {
13381338
/**
13391339
* Time it took to trigger language server startup.
13401340
*/

0 commit comments

Comments
 (0)