Files
azuredatastudio/extensions/schema-compare/src/telemetry.ts
Charles Gagnon 60c1c8a89f Update ads-extension-telemetry to 1.3.1 (#20724)
* Update ads-extension-telemetry to 1.3.0

* fix
2022-10-04 23:06:53 -07:00

21 lines
887 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';
import * as Utils from './utils';
const packageJson = require('../package.json');
let packageInfo = Utils.getPackageInfo(packageJson);
export const TelemetryReporter = new AdsTelemetryReporter<TelemetryViews>(packageInfo.name, packageInfo.version, packageInfo.aiKey);
export enum TelemetryViews {
SchemaCompareMainWindow = 'SchemaCompareMainWindow',
SchemaCompareDialog = 'SchemaCompareDialog',
SchemaCompareOptionsDialog = 'SchemaCompareOptionsDialog'
}