Skip to content

Commit 1b7a86c

Browse files
authored
fix(amazonq): Add clarifying comment to telemetry pass through mechanism (aws#7146)
## Problem It's not obvious that the LSP language client passes on telemetry events to Toolkits Telemetry ## Solution Add clarifying comment to the code implementation --- - 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 7cf7897 commit 1b7a86c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/amazonq/src/lsp/chat/messages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export function registerLanguageServerEventListener(languageClient: LanguageClie
8282
})
8383
})
8484

85+
// This passes through metric data from LSP events to Toolkit telemetry with all fields from the LSP server
8586
languageClient.onTelemetry((e) => {
8687
const telemetryName: string = e.name
8788

0 commit comments

Comments
 (0)