-
Notifications
You must be signed in to change notification settings - Fork 751
telemetry(amazonq): add jobId to all metrics #6241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
| codeTransformJobId: transformByQState.getJobId(), | ||
| userChoice: `acceptChanges-${patchFilesDescriptions?.content[diffModel.currentPatchIndex].name}`, | ||
| }) | ||
| telemetry.ui_click.emit({ elementId: 'transformationHub_acceptChanges' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not useful / redundant, and nobody looked at these ui_click metrics
|
|
||
| vscode.commands.registerCommand('aws.amazonq.transformationHub.reviewChanges.acceptChanges', async () => { | ||
| diffModel.saveChanges() | ||
| telemetry.codeTransform_submitSelection.emit({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in a run block, have been slowly working on converting all of our metrics to use run blocks, mostly done but the old emit calls are still lingering around in a few places like here
## Problem `jobId` missing in some metrics. ## Solution Add it.
Problem
jobIdmissing in some metrics.Solution
Add it.
feature/xbranches will not be squash-merged at release time.License: I confirm that my contribution is made under the terms of the Apache 2.0 license.