Update js file with monaco -> ads workbench (#8398)

This commit is contained in:
Charles Gagnon
2019-11-19 17:35:07 -08:00
committed by GitHub
parent 55059907a3
commit f976fc9418

View File

@@ -116,7 +116,7 @@ function submitAllStats(productJson, commit) {
}
*/
appInsights.defaultClient.trackEvent({
name: 'monacoworkbench/packagemetrics',
name: `${productJson.quality !== 'stable' ? 'adsworkbench' : 'monacoworkbench'}/packagemetrics`,
properties: { commit, size: JSON.stringify(sizes), count: JSON.stringify(counts) }
});
appInsights.defaultClient.flush({