diff --git a/src/vs/workbench/parts/extensions/common/vsoGalleryService.ts b/src/vs/workbench/parts/extensions/common/vsoGalleryService.ts index d1b2b3b4d523c211bc61980bc4df72cd5576d297..cea9a4e4354dca7d90d81fabbdfc271f50f86b46 100644 --- a/src/vs/workbench/parts/extensions/common/vsoGalleryService.ts +++ b/src/vs/workbench/parts/extensions/common/vsoGalleryService.ts @@ -212,7 +212,7 @@ export class GalleryService implements IGalleryService { constructor( @IRequestService private requestService: IRequestService, @IWorkspaceContextService contextService: IWorkspaceContextService, - @ITelemetryService telemetryService: ITelemetryService + @ITelemetryService private telemetryService: ITelemetryService ) { const config = contextService.getConfiguration().env.extensionsGallery; this.extensionsGalleryUrl = config && config.serviceUrl; @@ -233,6 +233,9 @@ export class GalleryService implements IGalleryService { return TPromise.wrapError(new Error('No extension gallery service configured.')); } + const type = options.ids ? 'ids' : (options.text ? 'text' : 'all'); + this.telemetryService.publicLog('galleryService:query', { type }); + const cache = this.queryCache().then(result => { const rawLastModified = result.getResponseHeader('last-modified');