mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 09:42:34 -05:00
Add telemetry for deployment type being selected (#14410)
* Add telemetry for deployment type being selected * Fix build
This commit is contained in:
@@ -14,6 +14,7 @@ import { getErrorMessage } from '../common/utils';
|
||||
import { ResourceTypePage } from './resourceTypePage';
|
||||
import { ResourceTypeWizard } from './resourceTypeWizard';
|
||||
import { OptionValuesFilter as OptionValuesFilter } from '../services/resourceTypeService';
|
||||
import { TelemetryAction, TelemetryReporter, TelemetryView } from '../services/telemetryService';
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
|
||||
@@ -77,6 +78,11 @@ export class ToolsAndEulaPage extends ResourceTypePage {
|
||||
this.wizard.wizardObject.message = {
|
||||
text: ''
|
||||
};
|
||||
TelemetryReporter.createActionEvent(TelemetryView.ResourceTypeWizard, TelemetryAction.SelectedDeploymentType)
|
||||
.withAdditionalProperties({
|
||||
'resourceType': this._resourceType.name,
|
||||
'provider': this.getCurrentProvider().name
|
||||
}).send();
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user