Consume proposed telemetry API (#165862)

* Consume proposed telemetry API

* Update webpack
This commit is contained in:
Logan Ramos
2022-11-08 21:58:28 -05:00
committed by GitHub
parent fd5edb9906
commit bf1697d98c
28 changed files with 3988 additions and 337 deletions

View File

@@ -9,7 +9,7 @@ import TelemetryReporter from '@vscode/extension-telemetry';
export async function activate(context: vscode.ExtensionContext) {
const { name, version, aiKey } = context.extension.packageJSON as { name: string; version: string; aiKey: string };
const telemetryReporter = new TelemetryReporter(name, version, aiKey);
const telemetryReporter = new TelemetryReporter(aiKey);
const loginService = new AzureActiveDirectoryService(context);
await loginService.initialize();