mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
add telemetry for saving publish profiles (#22933)
This commit is contained in:
@@ -43,6 +43,7 @@ export enum TelemetryActions {
|
|||||||
resetOptions = 'resetOptions',
|
resetOptions = 'resetOptions',
|
||||||
optionsChanged = 'optionsChanged',
|
optionsChanged = 'optionsChanged',
|
||||||
profileLoaded = 'profileLoaded',
|
profileLoaded = 'profileLoaded',
|
||||||
|
profileSaved = 'profileSaved',
|
||||||
SchemaComparisonFinished = 'SchemaComparisonFinished',
|
SchemaComparisonFinished = 'SchemaComparisonFinished',
|
||||||
SchemaComparisonStarted = 'SchemaComparisonStarted',
|
SchemaComparisonStarted = 'SchemaComparisonStarted',
|
||||||
rename = "rename",
|
rename = "rename",
|
||||||
|
|||||||
@@ -868,6 +868,7 @@ export class PublishDatabaseDialog {
|
|||||||
const targetDatabaseName = this.targetDatabaseName ?? '';
|
const targetDatabaseName = this.targetDatabaseName ?? '';
|
||||||
const deploymentOptions = await this.getDeploymentOptions();
|
const deploymentOptions = await this.getDeploymentOptions();
|
||||||
await this.savePublishProfile(filePath.fsPath, targetDatabaseName, targetConnectionString, this.getSqlCmdVariablesForPublish(), deploymentOptions);
|
await this.savePublishProfile(filePath.fsPath, targetDatabaseName, targetConnectionString, this.getSqlCmdVariablesForPublish(), deploymentOptions);
|
||||||
|
TelemetryReporter.sendActionEvent(TelemetryViews.SqlProjectPublishDialog, TelemetryActions.profileSaved);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.profileUsed = true;
|
this.profileUsed = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user