Skip to content

Commit 1f62501

Browse files
authored
telemetry: should send suggestionType/pluginVersion via sendTelemetryEvent api (#8080)
## Problem - update aws sdk - sendTelemetryEvent API is missing pluginVersion - sendTelemetryEvent.userTriggerEvent is missing suggestionType ## 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 6d678e9 commit 1f62501

File tree

3 files changed

+588
-45
lines changed

3 files changed

+588
-45
lines changed

packages/core/src/codewhisperer/client/codewhisperer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ export class DefaultCodeWhispererClient {
227227
product: 'CodeWhisperer', // TODO: update this?
228228
clientId: getClientId(globals.globalState),
229229
ideVersion: extensionVersion,
230+
pluginVersion: extensionVersion,
230231
},
231232
profileArn: AuthUtil.instance.regionProfileManager.activeRegionProfile?.arn,
232233
}

0 commit comments

Comments
 (0)