amazonq: reported customization telemetry can be wrong
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## Problem
See: https://github.com/aws/aws-toolkit-vscode/pull/5362#discussion_r1793594093. The current way of recording telemetry events that contain customization field can lead to wrong telemetry being recorded.
The current logic seems to be getting the active customization at the time of an event (e.g interact with message) and as explained in the linked comment, this can lead to wrong metrics when a customer selects a customization after a message has been received and goes back to interact with that message
## System details (run `AWS: About` and/or `Amazon Q: About`)
n/a
Contributor guide
Research direction
Start with the linked pull request discussion, especially discussion_r1793594093, and trace the telemetry event logic for Amazon Q interactions containing a customization field. Done means events for an earlier message retain the customization associated with that message rather than using the currently active customization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100