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:
Leila Lali
2023-04-06 08:18:23 -07:00
committed by GitHub
parent 755a3e9e00
commit a62d8f8960
2 changed files with 5 additions and 1 deletions

View File

@@ -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(),