Skip to content

Commit 401cf17

Browse files
author
Kartik Raj
committed
Do not send telemetry for displayName
1 parent 32b688e commit 401cf17

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/client/deprecatedProposedApi.ts

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export function buildDeprecatedProposedApi(
7272
sendTelemetryEvent(EventName.PYTHON_ENVIRONMENTS_API, undefined, {
7373
apiName,
7474
extensionId: info.extensionId,
75-
displayName: info.displayName,
7675
}),
7776
)
7877
.ignoreErrors();

src/client/proposedApi.ts

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export function buildProposedApi(
112112
sendTelemetryEvent(EventName.PYTHON_ENVIRONMENTS_API, undefined, {
113113
apiName,
114114
extensionId: info.extensionId,
115-
displayName: info.displayName,
116115
}),
117116
)
118117
.ignoreErrors();

src/client/telemetry/index.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -1115,18 +1115,14 @@ export interface IEventNamePropertyMapping {
11151115
/* __GDPR__
11161116
"python_environments_api" : {
11171117
"extensionId" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": false , "owner": "karrtikr"},
1118-
"displayName" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": false, "owner": "karrtikr" }
1118+
"apiName" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": false, "owner": "karrtikr" }
11191119
}
11201120
*/
11211121
[EventName.PYTHON_ENVIRONMENTS_API]: {
11221122
/**
11231123
* The ID of the extension calling the API.
11241124
*/
11251125
extensionId: string;
1126-
/**
1127-
* The name of the extension as displayed in marketplace.
1128-
*/
1129-
displayName: string;
11301126
/**
11311127
* The name of the API called.
11321128
*/

0 commit comments

Comments
 (0)