diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts index f0586040bc2..17c4bcb03e4 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts @@ -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 {