Skip to content

Commit bc8271d

Browse files
authored
Drop the hashed_package_perf telemetry (#18801)
1 parent d2f73f8 commit bc8271d

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/client/telemetry/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ export enum EventName {
9999

100100
LINTER_NOT_INSTALLED_PROMPT = 'LINTER_NOT_INSTALLED_PROMPT',
101101
HASHED_PACKAGE_NAME = 'HASHED_PACKAGE_NAME',
102-
HASHED_PACKAGE_PERF = 'HASHED_PACKAGE_PERF',
103102

104103
JEDI_LANGUAGE_SERVER_ENABLED = 'JEDI_LANGUAGE_SERVER.ENABLED',
105104
JEDI_LANGUAGE_SERVER_STARTUP = 'JEDI_LANGUAGE_SERVER.STARTUP',

src/client/telemetry/importTracker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { inject, injectable } from 'inversify';
77
import * as path from 'path';
88
import { clearTimeout, setTimeout } from 'timers';
99
import { TextDocument } from 'vscode';
10-
import { captureTelemetry, sendTelemetryEvent } from '.';
10+
import { sendTelemetryEvent } from '.';
1111
import { IExtensionSingleActivationService } from '../activation/types';
1212
import { IDocumentManager } from '../common/application/types';
1313
import { isTestExecution } from '../common/constants';
@@ -106,7 +106,6 @@ export class ImportTracker implements IExtensionSingleActivationService {
106106
}
107107
}
108108

109-
@captureTelemetry(EventName.HASHED_PACKAGE_PERF)
110109
private checkDocument(document: TextDocument) {
111110
this.pendingChecks.delete(document.fileName);
112111
const lines = getDocumentLines(document);

src/client/telemetry/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ export interface IEventNamePropertyMapping {
905905
}
906906
*/
907907
[EventName.FORMAT_SORT_IMPORTS]: never | undefined;
908+
908909
/**
909910
* Telemetry event sent with details when tracking imports
910911
*/
@@ -922,12 +923,7 @@ export interface IEventNamePropertyMapping {
922923
*/
923924
hashedName: string;
924925
};
925-
/* __GDPR__
926-
"hashed_package_perf" : {
927-
"propertyName" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "luabud" }
928-
}
929-
*/
930-
[EventName.HASHED_PACKAGE_PERF]: never | undefined;
926+
931927
/**
932928
* Telemetry event sent with details of selection in prompt
933929
* `Prompt message` :- 'Linter ${productName} is not installed'

0 commit comments

Comments
 (0)