mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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 providerId = 'MSSQL';
|
||||||
export const serviceCrashLink = 'https://github.com/Microsoft/vscode-mssql/wiki/SqlToolsService-Known-Issues';
|
export const serviceCrashLink = 'https://github.com/Microsoft/vscode-mssql/wiki/SqlToolsService-Known-Issues';
|
||||||
export const extensionConfigSectionName = 'mssql';
|
export const extensionConfigSectionName = 'mssql';
|
||||||
|
export const telemetryConfigSectionName = 'telemetry';
|
||||||
export const packageName = 'Microsoft.mssql';
|
export const packageName = 'Microsoft.mssql';
|
||||||
|
|
||||||
// DATA PROTOCOL VALUES ///////////////////////////////////////////////////////////
|
// DATA PROTOCOL VALUES ///////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -217,7 +217,10 @@ function getClientOptions(context: AppContext): ClientOptions {
|
|||||||
return {
|
return {
|
||||||
documentSelector: ['sql'],
|
documentSelector: ['sql'],
|
||||||
synchronize: {
|
synchronize: {
|
||||||
configurationSection: Constants.extensionConfigSectionName
|
configurationSection: [
|
||||||
|
Constants.extensionConfigSectionName,
|
||||||
|
Constants.telemetryConfigSectionName
|
||||||
|
]
|
||||||
},
|
},
|
||||||
providerId: Constants.providerId,
|
providerId: Constants.providerId,
|
||||||
errorHandler: new LanguageClientErrorHandler(),
|
errorHandler: new LanguageClientErrorHandler(),
|
||||||
|
|||||||
Reference in New Issue
Block a user