Initial work to update telemetry to use Common Schema (#6203)

* Update admin-tool-ext-win to use new ads-extension-telemetry package

* Add AdsTelemetryService for sending telemetry events using the ADS Common Schema

* Clean up unused import and add engineType

* Address PR comments

* Update private var names
This commit is contained in:
Charles Gagnon
2019-06-30 19:38:04 +00:00
committed by GitHub
parent bc7ac519d0
commit 0503c8d8fe
10 changed files with 344 additions and 123 deletions

View File

@@ -47,6 +47,8 @@ import { InstantiationService } from 'vs/platform/instantiation/common/instantia
import { Layout } from 'vs/workbench/browser/layout';
import { ICommandLineProcessing } from 'sql/workbench/services/commandLine/common/commandLine';
import { CommandLineService } from 'sql/workbench/services/commandLine/common/commandLineService';
import { IAdsTelemetryService } from 'sql/platform/telemetry/telemetry';
import { AdsTelemetryService } from 'sql/platform/telemetry/adsTelemetryService';
export class Workbench extends Layout {

View File

@@ -231,6 +231,8 @@ import { DashboardService } from 'sql/platform/dashboard/browser/dashboardServic
import { NotebookService } from 'sql/workbench/services/notebook/common/notebookServiceImpl';
import { INotebookService } from 'sql/workbench/services/notebook/common/notebookService';
import { OEShimService, IOEShimService } from 'sql/workbench/parts/objectExplorer/common/objectExplorerViewTreeShim';
import { IAdsTelemetryService } from 'sql/platform/telemetry/telemetry';
import { AdsTelemetryService } from 'sql/platform/telemetry/adsTelemetryService';
registerSingleton(IDashboardService, DashboardService);
registerSingleton(IDashboardViewService, DashboardViewService);
@@ -271,6 +273,7 @@ registerSingleton(IAccountPickerService, AccountPickerService);
registerSingleton(IProfilerService, ProfilerService);
registerSingleton(IDacFxService, DacFxService);
registerSingleton(ISchemaCompareService, SchemaCompareService);
registerSingleton(IAdsTelemetryService, AdsTelemetryService);
// {{SQL CARBON EDIT}} - End
//#region --- workbench parts