mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Adding telemetry config to client config to send to STS (#22644)
* Adding telemetry config to client config so they can be sent to STS to monitor updates
This commit is contained in:
@@ -7,6 +7,7 @@ export const serviceName = 'SQL Tools Service';
|
||||
export const providerId = 'MSSQL';
|
||||
export const serviceCrashLink = 'https://github.com/Microsoft/vscode-mssql/wiki/SqlToolsService-Known-Issues';
|
||||
export const extensionConfigSectionName = 'mssql';
|
||||
export const telemetryConfigSectionName = 'telemetry';
|
||||
export const packageName = 'Microsoft.mssql';
|
||||
|
||||
// DATA PROTOCOL VALUES ///////////////////////////////////////////////////////////
|
||||
|
||||
@@ -217,7 +217,10 @@ function getClientOptions(context: AppContext): ClientOptions {
|
||||
return {
|
||||
documentSelector: ['sql'],
|
||||
synchronize: {
|
||||
configurationSection: Constants.extensionConfigSectionName
|
||||
configurationSection: [
|
||||
Constants.extensionConfigSectionName,
|
||||
Constants.telemetryConfigSectionName
|
||||
]
|
||||
},
|
||||
providerId: Constants.providerId,
|
||||
errorHandler: new LanguageClientErrorHandler(),
|
||||
|
||||
Reference in New Issue
Block a user