Skip to content

Commit 2375ef8

Browse files
authored
telemetry(amazonq): add id2 metric (#1005)
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.
1 parent 8b3c1ed commit 2375ef8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

telemetry/definitions/commonDefinitions.json

+9
Original file line numberDiff line numberDiff line change
@@ -1878,6 +1878,11 @@
18781878
"type": "string",
18791879
"description": "Request ID (if any) associated with a metric. For example, an event with `requestServiceType: s3` means that the request ID is associated with an S3 API call. Events that cover multiple API calls should use the request ID of the most recent call."
18801880
},
1881+
{
1882+
"name": "requestId2",
1883+
"type": "string",
1884+
"description": "A special token that is used together with the request ID header to help AWS troubleshoot problems. For example, this has to be provided with requestId when debugging S3 upload errors."
1885+
},
18811886
{
18821887
"name": "requestServiceType",
18831888
"type": "string",
@@ -2533,6 +2538,10 @@
25332538
"type": "requestId",
25342539
"required": false
25352540
},
2541+
{
2542+
"type": "requestId2",
2543+
"required": false
2544+
},
25362545
{
25372546
"type": "requestServiceType",
25382547
"required": false

0 commit comments

Comments
 (0)