Skip to content

Commit e1c5673

Browse files
authored
Register Pylance settings telemetry properties added by pyrx PR #7998 (#25962)
The following 8 properties were added to Pylance settings telemetry events in pyrx PRs #7998 and #7920 but were silently dropped by the Python extension's GDPR property allowlist before submission. Add them so they appear in Azure Data Explorer: - diagnosticsSource - pyrightVersion - referencesCodeLens - supportDocstringTemplate - enableDjangoSupport - regenerateStdLibIndices - persistAllIndices - includeAliasesFromUserFiles
1 parent 1df2dfd commit e1c5673

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/client/telemetry/pylance.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,10 @@
385385
"autosearchpaths" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
386386
"callArgumentNameInlayHints" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
387387
"completefunctionparens" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
388+
"diagnosticsSource" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
388389
"disableTaggedHints" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
389390
"disableworkspacesymbol" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
391+
"enableDjangoSupport" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
390392
"enableextractcodeaction" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
391393
"enablePytestSupport" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
392394
"extracommitchars" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
@@ -395,6 +397,7 @@
395397
"hasconfigfile" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
396398
"hasextrapaths" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
397399
"importformat" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
400+
"includeAliasesFromUserFiles" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
398401
"intelliCodeEnabled" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
399402
"includeusersymbolsinautoimport" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
400403
"indexing" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
@@ -404,7 +407,12 @@
404407
"movesymbol" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
405408
"nodeExecutable" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
406409
"openfilesonly" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
410+
"persistAllIndices" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
411+
"pyrightVersion" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
407412
"pytestparameterinlaytypehints" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
413+
"referencesCodeLens" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
414+
"regenerateStdLibIndices" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
415+
"supportDocstringTemplate" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
408416
"typecheckingmode" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
409417
"unusablecompilerflags": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
410418
"useimportheuristic" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },

0 commit comments

Comments
 (0)