Clean up CallstackOrException telemetry in typescript-language-features by amcasey · Pull Request #96108 · microsoft/vscode
One was actually SystemMetaData, all others were either dropped or replaced with sanitized versions classifiable as SystemMetaData.
One was actually SystemMetaData, all others were either dropped or replaced with sanitized versions classifiable as SystemMetaData.
| /* __GDPR__FRAGMENT__ | ||
| "TypeScriptRequestErrorProperties" : { | ||
| "command" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, | ||
| "message" : { "classification": "CallstackOrException", "purpose": "PerformanceAndHealth" }, |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe dropping these causes them to be on the server side?
| return ''; | ||
| } | ||
| return message.replace(new RegExp(`${escapeRegExp(version.path)}[/\\\\]tsserver.js:`, 'gi'), 'tsserver.js:'); | ||
| const regex = /(tsserver)?(\.(?:ts|tsx|js|jsx)(?::\d+(?::\d+))?)\)?$/igm; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This moves us from an exclusion list to an inclusion list, so it should be impossible for customer data to slip through.
Thanks @amcasey! Merging this to VS Code but just make sure these changes won't break the exception queries TypeScript use to open issues
@mjbvz It will definitely break our tools, but we're prepared to make the necessary changes.
This was referenced
Apr 27, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters