mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
More telemetry comments (#150303)
* Add owners to all telemetry events * More comments * Add comments to non typescript GDPR annotation * Another comment
This commit is contained in:
@@ -554,6 +554,7 @@ class CompletionAcceptedCommand implements Command {
|
||||
if (item instanceof MyCompletionItem) {
|
||||
/* __GDPR__
|
||||
"completions.accept" : {
|
||||
"owner": "mjbvz",
|
||||
"isPackageJsonImport" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"isImportStatementCompletion" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
@@ -820,6 +821,7 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider<
|
||||
) {
|
||||
/* __GDPR__
|
||||
"completions.execute" : {
|
||||
"owner": "mjbvz",
|
||||
"duration" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"type" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"count" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
|
||||
@@ -32,6 +32,7 @@ class OrganizeImportsCommand implements Command {
|
||||
public async execute(file: string, sortOnly = false): Promise<any> {
|
||||
/* __GDPR__
|
||||
"organizeImports.execute" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
]
|
||||
|
||||
@@ -37,6 +37,7 @@ class ApplyCodeActionCommand implements Command {
|
||||
): Promise<boolean> {
|
||||
/* __GDPR__
|
||||
"quickFix.execute" : {
|
||||
"owner": "mjbvz",
|
||||
"fixName" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
@@ -67,6 +68,7 @@ class ApplyFixAllCodeAction implements Command {
|
||||
public async execute(args: ApplyFixAllCodeAction_args): Promise<void> {
|
||||
/* __GDPR__
|
||||
"quickFixAll.execute" : {
|
||||
"owner": "mjbvz",
|
||||
"fixName" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
|
||||
@@ -36,6 +36,7 @@ class DidApplyRefactoringCommand implements Command {
|
||||
public async execute(args: DidApplyRefactoringCommand_Args): Promise<void> {
|
||||
/* __GDPR__
|
||||
"refactor.execute" : {
|
||||
"owner": "mjbvz",
|
||||
"action" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
|
||||
@@ -230,6 +230,7 @@ export class ProcessBasedTsServer extends Disposable implements ITypeScriptServe
|
||||
if (!executeInfo.token || !executeInfo.token.isCancellationRequested) {
|
||||
/* __GDPR__
|
||||
"languageServiceErrorResponse" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}",
|
||||
"${TypeScriptRequestErrorProperties}"
|
||||
|
||||
@@ -388,6 +388,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
|
||||
/* __GDPR__
|
||||
"tsserver.spawned" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
],
|
||||
@@ -418,6 +419,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
|
||||
/* __GDPR__
|
||||
"tsserver.error" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
]
|
||||
@@ -443,6 +445,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
this.error(`TSServer exited with code: ${code}. Signal: ${signal}`);
|
||||
/* __GDPR__
|
||||
"tsserver.exitWithCode" : {
|
||||
"owner": "mjbvz",
|
||||
"code" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||
"signal" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||
"${include}": [
|
||||
@@ -601,6 +604,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
|
||||
/* __GDPR__
|
||||
"serviceExited" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
]
|
||||
@@ -846,6 +850,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
private fatalError(command: string, error: unknown): void {
|
||||
/* __GDPR__
|
||||
"fatalError" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}",
|
||||
"${TypeScriptRequestErrorProperties}"
|
||||
@@ -977,6 +982,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
|
||||
/* __GDPR__
|
||||
"typingsInstalled" : {
|
||||
"owner": "mjbvz",
|
||||
"installedPackages" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"installSuccess": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||
"typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||
|
||||
@@ -49,6 +49,7 @@ class ExcludeHintItem {
|
||||
this._item.show();
|
||||
/* __GDPR__
|
||||
"js.hintProjectExcludes" : {
|
||||
"owner": "mjbvz",
|
||||
"${include}": [
|
||||
"${TypeScriptCommonProperties}"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user