Upgrade appinsights (#58999)

* Upgrade appinsights

* Env, global updates before starting shared process

* Disable console logging from appinsights Fixes #55417

* Move workaround to helper
This commit is contained in:
Ramya Rao
2018-09-22 23:09:48 -07:00
committed by GitHub
parent d5d8d98cf3
commit ae526292df
10 changed files with 330 additions and 132 deletions

View File

@@ -6,8 +6,12 @@
//@ts-check
'use strict';
const bootstrap = require('../../../../bootstrap');
const bootstrapWindow = require('../../../../bootstrap-window');
// Avoid Monkey Patches from Application Insights
bootstrap.avoidMonkeyPatchFromAppInsights();
bootstrapWindow.load(['vs/code/electron-browser/sharedProcess/sharedProcessMain'], function (sharedProcess, configuration) {
sharedProcess.startup({
machineId: configuration.machineId