mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-26 19:36:52 +01:00
add telemetry (#199176)
This commit is contained in:
@@ -800,6 +800,14 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension
|
||||
urlService.registerHandler(this);
|
||||
|
||||
this.whenInitialized = this.initialize();
|
||||
|
||||
lifecycleService.when(LifecyclePhase.Eventually).then(() => {
|
||||
telemetryService.publicLog2<{ mode: string }, {
|
||||
owner: 'sandy081';
|
||||
mode: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'Auto Update Mode' };
|
||||
comment: 'This is used to know if extensions are getting auto updated or not';
|
||||
}>('extensions:autoupdate', { mode: `${this.getAutoUpdateValue()}` });
|
||||
});
|
||||
}
|
||||
|
||||
private async initialize(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user