Skip to content

Commit 5aa6894

Browse files
authored
Comment out envelope injection (microsoft#188203)
1 parent ab705a2 commit 5aa6894

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/vs/platform/telemetry/common/1dsAppender.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ async function getClient(instrumentationKey: string, addInternalFlag?: boolean,
5252

5353
appInsightsCore.initialize(coreConfig, []);
5454

55-
appInsightsCore.addTelemetryInitializer((envelope) => {
56-
if (addInternalFlag) {
57-
envelope['ext'] = envelope['ext'] ?? {};
58-
envelope['ext']['utc'] = envelope['ext']['utc'] ?? {};
59-
// Sets it to be internal only based on Windows UTC flagging
60-
envelope['ext']['utc']['flags'] = 0x0000811ECD;
61-
}
62-
});
55+
// appInsightsCore.addTelemetryInitializer((envelope) => {
56+
// if (addInternalFlag) {
57+
// envelope['ext'] = envelope['ext'] ?? {};
58+
// envelope['ext']['utc'] = envelope['ext']['utc'] ?? {};
59+
// // Sets it to be internal only based on Windows UTC flagging
60+
// envelope['ext']['utc']['flags'] = 0x0000811ECD;
61+
// }
62+
// });
6363

6464
return appInsightsCore;
6565
}

0 commit comments

Comments
 (0)