mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 17:23:42 -05:00
Add initial telemetry for schema compare (#5595)
* add initial telemetry to schema compare * addressing comments
This commit is contained in:
@@ -11,6 +11,7 @@ import * as os from 'os';
|
||||
import { SchemaCompareResult } from '../schemaCompareResult';
|
||||
import { isNullOrUndefined } from 'util';
|
||||
import { existsSync } from 'fs';
|
||||
import { Telemetry } from '../telemetry';
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
const OkButtonText: string = localize('schemaCompareDialog.ok', 'Ok');
|
||||
@@ -137,6 +138,10 @@ export class SchemaCompareDialog {
|
||||
};
|
||||
}
|
||||
|
||||
Telemetry.sendTelemetryEvent('SchemaCompareStart', {
|
||||
'sourceIsDacpac': this.sourceIsDacpac.toString(),
|
||||
'targetIsDacpac': this.targetIsDacpac.toString()
|
||||
});
|
||||
let schemaCompareResult = new SchemaCompareResult(sourceName, targetName, sourceEndpointInfo, targetEndpointInfo);
|
||||
schemaCompareResult.start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user