Skip to content

Commit

Permalink
added AWS request id
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWert committed Feb 24, 2023
1 parent 583a291 commit b7b3fd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions semantic_conventions/trace/instrumentation/aws-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ groups:
examples:
- GetItem
- PutItem
- id: rpc.aws.request_id
type: string
brief: "The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`."
examples:
- 79b9da39-b7ae-508a-a6bc-864b2829c622
- C9ER4AJX75574TDJ

- id: dynamodb.all
type: span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ with the naming guidelines for RPC client spans.
<!-- semconv aws -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `aws.rpc.aws.request_id` | string | The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. | `79b9da39-b7ae-508a-a6bc-864b2829c622`; `C9ER4AJX75574TDJ` | Recommended |
| [`rpc.method`](../rpc.md) | string | The name of the operation corresponding to the request, as returned by the AWS SDK [1] | `GetItem`; `PutItem` | Recommended |
| [`rpc.service`](../rpc.md) | string | The name of the service to which a request is made, as returned by the AWS SDK. [2] | `DynamoDB`; `S3` | Recommended |
| [`rpc.system`](../rpc.md) | string | The value `aws-api`. | `aws-api` | Required |
Expand Down

0 comments on commit b7b3fd4

Please sign in to comment.