mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
tweak event name, add GDPR comment
This commit is contained in:
@@ -112,7 +112,12 @@ export function submitAllStats(productJson: any): Promise<void> {
|
||||
.start();
|
||||
|
||||
appInsights.defaultClient.config.endpointUrl = 'https://vortex.data.microsoft.com/collect/v1';
|
||||
appInsights.defaultClient.trackEvent(`bundleStats`, undefined, measurements);
|
||||
/* __GDPR__
|
||||
"monacoworkbench/bundleStats" : {
|
||||
"outcome" : {"classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true }
|
||||
}
|
||||
*/
|
||||
appInsights.defaultClient.trackEvent(`monacoworkbench/bundleStats`, undefined, measurements);
|
||||
appInsights.defaultClient.sendPendingData(() => resolve());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user