mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Fix 1DS part A internal flag (#152515)
This commit is contained in:
parent
78597fd026
commit
5ffcfde11d
|
@ -33,10 +33,10 @@ async function getClient(instrumentationKey: string): Promise<AppInsightsCore> {
|
|||
appInsightsCore.initialize(coreConfig, []);
|
||||
|
||||
appInsightsCore.addTelemetryInitializer((envelope) => {
|
||||
if (envelope.tags) {
|
||||
// Sets it to be internal only based on Windows UTC flagging
|
||||
envelope.tags['utc.flags'] = 0x0000811ECD;
|
||||
}
|
||||
envelope['ext'] = envelope['ext'] ?? {};
|
||||
envelope['ext']['utc'] = envelope['ext']['utc'] ?? {};
|
||||
// Sets it to be internal only based on Windows UTC flagging
|
||||
envelope['ext']['utc']['flags'] = 0x0000811ECD;
|
||||
});
|
||||
|
||||
return appInsightsCore;
|
||||
|
|
|
@ -67,10 +67,10 @@ async function getClient(instrumentationKey: string): Promise<AppInsightsCore> {
|
|||
appInsightsCore.initialize(coreConfig, []);
|
||||
|
||||
appInsightsCore.addTelemetryInitializer((envelope) => {
|
||||
if (envelope.tags) {
|
||||
// Sets it to be internal only based on Windows UTC flagging
|
||||
envelope.tags['utc.flags'] = 0x0000811ECD;
|
||||
}
|
||||
envelope['ext'] = envelope['ext'] ?? {};
|
||||
envelope['ext']['utc'] = envelope['ext']['utc'] ?? {};
|
||||
// Sets it to be internal only based on Windows UTC flagging
|
||||
envelope['ext']['utc']['flags'] = 0x0000811ECD;
|
||||
});
|
||||
|
||||
return appInsightsCore;
|
||||
|
|
Loading…
Reference in a new issue