-
Notifications
You must be signed in to change notification settings - Fork 61
telemetry(amazonq): add id2 metric #1005
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
| "description": "Metric-defined identifier" | ||
| }, | ||
| { | ||
| "name": "id2", |
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.
This name is too generic to be meaningful. "eg: Whats id2 is it more special than the id field?"
If it is s3 specific, would it make sense to name it s3_id2? Could it be generalized to something like responseHeader?
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.
Will update! It is not specific to S3, but I guess I can also name it requestId2. Thanks for pointing that out.
| { | ||
| "name": "id2", | ||
| "type": "string", | ||
| "description": "x-amz-id-2 for S3 Upload Debugging" |
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.
Its great to see an example, but please add a proper description to explain the field.
awschristou
left a comment
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.
I'm approving the change to unblock some priority work. There's a good chance this new field will be revisited for a potential rename.
## Problem Some users are reporting S3 upload failures but we don't have the id2 that S3 team requires to investigate further. Related Commons change: [#1005](aws/aws-toolkit-common#1005) ## Solution Emit amazonq_createUpload metric with id2, and add logs for these ids so customers can use too.
Problem
Solution
Some users are reporting S3 upload failures but we don't have the id2 that S3 team requires to investigate further.
Emit amazonq_createUpload metric with id2, and add logs for these ids so customers can use too.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.