Files
azuredatastudio/src/sql/platform/telemetry/common/telemetryKeys.ts
Aasim Khan a4077c3d89 Adding telemetry to ads OE filter (#23089)
* Adding telemetry to ads oe filter

* Fixing prop names

* fixing prop name

* Fixing localized strings

* Update src/sql/azdata.proposed.d.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/sql/workbench/contrib/objectExplorer/browser/serverTreeView.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-05-11 13:27:34 -07:00

151 lines
5.2 KiB
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export const enum EventName {
Action = 'action',
Error = 'error',
Metrics = 'metrics',
View = 'view'
}
export const enum ModalDialogName {
ErrorMessage = 'ErrorMessage',
WebView = 'WebView',
ConnectionAdvancedProperties = 'ConnectionAdvancedProperties',
Connection = 'Connection',
Backup = 'Backup',
FileBrowser = 'FileBrowser',
UrlBrowser = 'UrlBrowser',
Restore = 'Restore',
Insights = 'Insights',
Profiler = 'Profiler',
ServerGroups = 'ServerGroups',
Accounts = 'Accounts',
FireWallRule = 'FirewallRule',
AutoOAuth = 'AutoOAuth',
AddNewDashboardTab = 'AddNewDashboardTab',
ProfilerFilter = 'ProfilerFilter',
CalloutDialog = 'CalloutDialog',
TableDesignerPublishDialog = 'TableDesignerPublishDialog'
}
export const enum TelemetryView {
Agent = 'Agent',
AgentJobs = 'AgentJobs',
AgentJobHistory = 'AgentJobHistory',
AgentJobSteps = 'AgentJobSteps',
AgentNotebookHistory = 'AgentNotebookHistory',
AgentNotebooks = 'AgentNotebooks',
ConnectionErrorDialog = 'ConnectionErrorDialog',
ErrorMessageDialog = 'ErrorMessageDialog',
ExecutionPlan = 'ExecutionPlan',
ExtensionHost = 'ExtensionHost',
ExtensionRecommendationDialog = 'ExtensionRecommendationDialog',
LinkedAccounts = 'LinkedAccounts',
Notebook = 'Notebook',
NotifyEncryptionDialog = 'NotifyEncryptionDialog',
NotifyHiddenTenantDialog = 'NotifyHiddenTenantDialog',
ResultsPanel = 'ResultsPanel',
Shell = 'Shell',
SqlAssessment = 'SqlAssessment',
TableDesigner = 'TableDesigner',
ObjectExplorer = 'ObjectExplorer'
}
export const enum TelemetryError {
DatabaseConnectionError = 'DatabaseConnectionError',
ObjectExplorerExpandError = 'ObjectExplorerExpandError',
AddAzureAccountError = 'AddAzureAccountError',
AddAzureAccountErrorNoResult = 'AddAzureAccountErrorNoResult',
RefreshAzureAccountError = 'RefreshAzureAccountError',
RefreshAzureAccountErrorNoResult = 'RefreshAzureAccountErrorNoResult',
}
export const enum TelemetryAction {
adsCommandExecuted = 'adsCommandExecuted',
AddExecutionPlan = 'AddExecutionPlan',
AddServerGroup = 'AddServerGroup',
AddAzureAccount = 'AddAzureAccount',
BackupCreated = 'BackupCreated',
ConnectToServer = 'ConnectToServer',
CustomZoom = 'CustomZoom',
CancelQuery = 'CancelQuery',
ChartCreated = 'ChartCreated',
Click = 'Click',
CompareExecutionPlan = 'CompareExecutionPlan',
DashboardNavigated = 'DashboardNavigated',
DatabaseConnected = 'DatabaseConnected',
DatabaseDisconnected = 'DatabaseDisconnected',
DeleteAgentJob = 'DeleteAgentJob',
DeleteAgentJobStep = 'DeleteAgentJobStep',
DeleteAgentAlert = 'DeleteAgentAlert',
DeleteAgentOperator = 'DeleteAgentOperator',
DeleteAgentProxy = 'DeleteAgentProxy',
DeleteConnection = 'DeleteConnection',
DeleteServerGroup = 'DeleteServerGroup',
FindNode = 'FindNode',
FirewallRuleRequested = 'FirewallRuleCreated',
GenerateScript = 'GenerateScript',
GeneratePreviewReport = 'GeneratePreviewReport',
GetDataGridItems = 'GetDataGridItems',
GetDataGridColumns = 'GetDataGridColumns',
HighlightExpensiveOperation = 'HighlightExpensiveOperation',
ModelViewDashboardOpened = 'ModelViewDashboardOpened',
ModalDialogClosed = 'ModalDialogClosed',
ModalDialogOpened = 'ModalDialogOpened',
MoveServerConnection = 'MoveServerConnection',
MoveServerGroup = 'MoveServerGroup',
NewQuery = 'NewQuery',
ObjectExplorerExpand = 'ObjectExplorerExpand',
ObjectExplorerFilter = 'ObjectExplorerFilter',
ObjectExplorerRemoveFilter = 'ObjectExplorerRemoveFilter',
Open = 'Open',
OpenQuery = 'OpenQuery',
OpenExecutionPlanProperties = 'OpenExecutionPlanProperties',
PublishChanges = 'PublishChanges',
RefreshAzureAccount = 'RefreshAzureAccount',
RestoreRequested = 'RestoreRequested',
RunAgentJob = 'RunAgentJob',
RunQuery = 'RunQuery',
RunQueryStatement = 'RunQueryStatement',
RunQueryString = 'RunQueryString',
SearchCompleted = 'SearchCompleted',
SearchStarted = 'SearchStarted',
ShowChart = 'ShowChart',
StopAgentJob = 'StopAgentJob',
ToggleActualExecutionPlan = 'ToggleActualExecutionPlan',
ViewExecutionPlanComparisonProperties = 'ViewExecutionPlanComparisonProperties',
ViewTopOperations = 'ViewTopOperations',
WizardPagesNavigation = 'WizardPagesNavigation',
ZoomIn = 'ZoomIn',
ZoomOut = 'ZoomOut',
ZoomToFit = 'ZoomToFIt'
}
export const enum NbTelemetryAction {
RunCell = 'RunCell',
RunAll = 'RunNotebook',
AddCell = 'AddCell',
KernelChanged = 'KernelChanged',
ConnectionChanged = 'ConnectionChanged',
TrustChanged = 'TrustChanged',
RunWithParameters = 'RunWithParameters',
NewNotebookFromConnections = 'NewNotebookWithConnectionProfile',
UndoCell = 'UndoCell',
RedoCell = 'RedoCell',
MoveCell = 'MoveCell',
MIMETypeRendererNotFound = 'MIMETypeRendererNotFound',
CellExecutionFailed = 'CellExecutionFailed',
TextCellToolbarAction = 'TextCellToolbarAction',
WYSIWYGKeyboardAction = 'WYSIWYGKeyboardAction'
}
export const enum TelemetryPropertyName {
ChartMaxRowCountExceeded = 'chartMaxRowCountExceeded',
ConnectionSource = 'connectionSource',
AuthLibrary = 'AuthLibrary'
}