mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
tweak event name, add GDPR comment
This commit is contained in:
@@ -106,7 +106,12 @@ function submitAllStats(productJson) {
|
||||
.setAutoCollectRequests(false)
|
||||
.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(function () { return resolve(); });
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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