aws / aws/aws-toolkit-vscode

amazonq: reported customization telemetry can be wrong

Open
#5,819 0 comments 0 reactions 0 assignees View on GitHub
amazon-q bug codewhisperer partner-team telemetry
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.