Commit 8be30f1
authored
fix(amazonq): should send extension version instead of IDE version in telemetry (aws#7893)
## Problem
Language server is using
`initializeParams.initializationOptions?.aws?.clientInfo?.version`
https://github.com/aws/language-servers/blob/main/server/aws-lsp-codewhisperer/src/shared/telemetryUtils.ts#L99-L100
However current we're passing IDE version (vscode) and use the other
field as plugin version which is not used by server.
```
clientInfo: {
name: getClientName(),
version: version,
extension: {
name: 'AmazonQ-For-VSCode',
version: extensionVersion,
```
## Solution
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent e78478f commit 8be30f1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments