Skip to content

Commit fbb3e25

Browse files
committed
omit endPoint where it defaults to none
1 parent 6607604 commit fbb3e25

77 files changed

Lines changed: 408 additions & 408 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

extensions/git/src/commands.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class CommandCenter {
266266
if (!url) {
267267
/* __GDPR__
268268
"clone" : {
269-
"outcome" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
269+
"outcome" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
270270
}
271271
*/
272272
this.telemetryReporter.sendTelemetryEvent('clone', { outcome: 'no_URL' });
@@ -285,7 +285,7 @@ export class CommandCenter {
285285
if (!parentPath) {
286286
/* __GDPR__
287287
"clone" : {
288-
"outcome" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
288+
"outcome" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
289289
}
290290
*/
291291
this.telemetryReporter.sendTelemetryEvent('clone', { outcome: 'no_directory' });
@@ -307,8 +307,8 @@ export class CommandCenter {
307307
const openFolder = result === open;
308308
/* __GDPR__
309309
"clone" : {
310-
"outcome" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
311-
"openFolder": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true }
310+
"outcome" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
311+
"openFolder": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true }
312312
}
313313
*/
314314
this.telemetryReporter.sendTelemetryEvent('clone', { outcome: 'success' }, { openFolder: openFolder ? 1 : 0 });
@@ -319,14 +319,14 @@ export class CommandCenter {
319319
if (/already exists and is not an empty directory/.test(err && err.stderr || '')) {
320320
/* __GDPR__
321321
"clone" : {
322-
"outcome" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
322+
"outcome" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
323323
}
324324
*/
325325
this.telemetryReporter.sendTelemetryEvent('clone', { outcome: 'directory_not_empty' });
326326
} else {
327327
/* __GDPR__
328328
"clone" : {
329-
"outcome" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
329+
"outcome" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
330330
}
331331
*/
332332
this.telemetryReporter.sendTelemetryEvent('clone', { outcome: 'error' });
@@ -1343,7 +1343,7 @@ export class CommandCenter {
13431343

13441344
/* __GDPR__
13451345
"git.command" : {
1346-
"command" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
1346+
"command" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
13471347
}
13481348
*/
13491349
this.telemetryReporter.sendTelemetryEvent('git.command', { command: id });

extensions/markdown/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ function showPreview(cspArbiter: ExtensionContentSecurityPolicyArbiter, uri?: vs
262262
if (telemetryReporter) {
263263
/* __GDPR__
264264
"openPreview" : {
265-
"where" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
266-
"how": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
265+
"where" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
266+
"how": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
267267
}
268268
*/
269269
telemetryReporter.sendTelemetryEvent('openPreview', {

extensions/typescript/src/typescriptServiceClient.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
388388
window.showErrorMessage(localize('serverCouldNotBeStarted', 'TypeScript language server couldn\'t be started. Error message is: {0}', err.message || err));
389389
/* __GDPR__
390390
"error" : {
391-
"message": { "endPoint": "none", "classification": "CustomerContent", "purpose": "PerformanceAndHealth" }
391+
"message": { "classification": "CustomerContent", "purpose": "PerformanceAndHealth" }
392392
}
393393
*/
394394
this.logTelemetry('error', { message: err.message });
@@ -414,7 +414,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
414414
this.error(`TSServer exited with code: ${code}`);
415415
/* __GDPR__
416416
"tsserver.exitWithCode" : {
417-
"code" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
417+
"code" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
418418
}
419419
*/
420420
this.logTelemetry('tsserver.exitWithCode', { code: code });
@@ -853,9 +853,9 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
853853
}
854854
/* __GDPR__
855855
"typingsInstalled" : {
856-
"installedPackages" : { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
857-
"installSuccess": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
858-
"typingsInstallerVersion": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
856+
"installedPackages" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
857+
"installSuccess": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
858+
"typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
859859
}
860860
*/
861861
// GDPR__COMMENT: Other events are defined by TypeScript.

src/typings/native-keymap.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ declare module 'native-keymap' {
4444

4545
/* __GDPR__FRAGMENT__
4646
"IKeyboardLayoutInfo" : {
47-
"name" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
48-
"id": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
49-
"text": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
47+
"name" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
48+
"id": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
49+
"text": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
5050
}
5151
*/
5252
export interface IWindowsKeyboardLayoutInfo {
@@ -57,11 +57,11 @@ declare module 'native-keymap' {
5757

5858
/* __GDPR__FRAGMENT__
5959
"IKeyboardLayoutInfo" : {
60-
"model" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
61-
"layout": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
62-
"variant": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
63-
"options": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
64-
"rules": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
60+
"model" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
61+
"layout": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
62+
"variant": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
63+
"options": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
64+
"rules": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
6565
}
6666
*/
6767
export interface ILinuxKeyboardLayoutInfo {
@@ -74,8 +74,8 @@ declare module 'native-keymap' {
7474

7575
/* __GDPR__FRAGMENT__
7676
"IKeyboardLayoutInfo" : {
77-
"id" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
78-
"lang": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
77+
"id" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
78+
"lang": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
7979
}
8080
*/
8181
export interface IMacKeyboardLayoutInfo {

src/vs/base/parts/quickopen/browser/quickOpenWidget.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,9 @@ export class QuickOpenWidget implements IModelProvider {
534534
const entriesCount = this.model.entries.length;
535535
/* __GDPR__
536536
"quickOpenWidgetItemAccepted" : {
537-
"index" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
538-
"count": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
539-
"isQuickNavigate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
537+
"index" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
538+
"count": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
539+
"isQuickNavigate": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
540540
}
541541
*/
542542
this.usageLogger.publicLog('quickOpenWidgetItemAccepted', { index: indexOfAcceptedElement, count: entriesCount, isQuickNavigate: this.quickNavigateConfiguration ? true : false });
@@ -782,8 +782,8 @@ export class QuickOpenWidget implements IModelProvider {
782782
if (this.usageLogger) {
783783
/* __GDPR__
784784
"quickOpenWidgetCancelled" : {
785-
"count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
786-
"isQuickNavigate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
785+
"count" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
786+
"isQuickNavigate": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
787787
}
788788
*/
789789
this.usageLogger.publicLog('quickOpenWidgetCancelled', { count: entriesCount, isQuickNavigate: this.quickNavigateConfiguration ? true : false });

src/vs/base/parts/quickopen/common/quickOpen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ResolvedKeybinding } from 'vs/base/common/keyCodes';
88

99
/* __GDPR__FRAGMENT__
1010
"IQuickNavigateConfiguration" : {
11-
"keybindings" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
11+
"keybindings" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
1212
}
1313
*/
1414
export interface IQuickNavigateConfiguration {

src/vs/code/electron-browser/sharedProcessMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function main(server: Server, initData: ISharedProcessInitData): void {
109109
const config: ITelemetryServiceConfig = {
110110
appender,
111111
commonProperties: resolveCommonProperties(product.commit, pkg.version, installSource)
112-
// __GDPR__COMMON__ "common.machineId" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
112+
// __GDPR__COMMON__ "common.machineId" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
113113
.then(result => Object.defineProperty(result, 'common.machineId', {
114114
get: () => storageService.get(machineIdStorageKey),
115115
enumerable: true

src/vs/code/electron-main/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export class CodeApplication {
295295
const channel = getDelayedChannel<ITelemetryAppenderChannel>(this.sharedProcessClient.then(c => c.getChannel('telemetryAppender')));
296296
const appender = new TelemetryAppenderClient(channel);
297297
const commonProperties = resolveCommonProperties(product.commit, pkg.version, this.environmentService.installSource)
298-
// __GDPR__COMMON__ "common.machineId" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
298+
// __GDPR__COMMON__ "common.machineId" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
299299
.then(result => Object.defineProperty(result, 'common.machineId', {
300300
get: () => this.storageService.getItem(machineIdStorageKey),
301301
enumerable: true

src/vs/code/electron-main/menus.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,8 +1241,8 @@ export class CodeMenu {
12411241
private reportMenuActionTelemetry(id: string): void {
12421242
/* __GDPR__
12431243
"workbencActionExecuted" : {
1244-
"id" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1245-
"from": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
1244+
"id" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1245+
"from": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
12461246
}
12471247
*/
12481248
this.telemetryService.publicLog('workbenchActionExecuted', { id, from: telemetryFrom });

src/vs/editor/common/editorCommonExtensions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ export abstract class EditorAction extends EditorCommand {
196196
protected reportTelemetry(accessor: ServicesAccessor, editor: editorCommon.ICommonCodeEditor) {
197197
/* __GDPR__
198198
"editorActionInvoked" : {
199-
"name" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
200-
"id": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
199+
"name" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
200+
"id": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
201201
"${include}": [
202202
"${EditorTelemetryData}"
203203
]

0 commit comments

Comments
 (0)