diff --git a/.chloggen/aws.extended_request_id.yaml b/.chloggen/aws.extended_request_id.yaml new file mode 100644 index 0000000000..ec7afb0c88 --- /dev/null +++ b/.chloggen/aws.extended_request_id.yaml @@ -0,0 +1,22 @@ +# Use this changelog template to create an entry for release notes. +# +# If your change doesn't affect end users you should instead start +# your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) +component: aws + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Add extended request ID to general AWS Attributes + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +# The values here must be integers. +issues: [] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/docs/attributes-registry/aws.md b/docs/attributes-registry/aws.md index 536abd31fb..ed5fdca4e2 100644 --- a/docs/attributes-registry/aws.md +++ b/docs/attributes-registry/aws.md @@ -20,6 +20,7 @@ This document defines generic attributes for AWS services. | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| +| `aws.extended_request_id` | string | The AWS extended request ID as returned in the response header `x-amz-id-2`. | `wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `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` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | ## Amazon DynamoDB Attributes diff --git a/model/aws/registry.yaml b/model/aws/registry.yaml index 43e736725a..4c8a39ae7b 100644 --- a/model/aws/registry.yaml +++ b/model/aws/registry.yaml @@ -12,6 +12,12 @@ groups: examples: - 79b9da39-b7ae-508a-a6bc-864b2829c622 - C9ER4AJX75574TDJ + - id: aws.extended_request_id + type: string + stability: experimental + brief: "The AWS extended request ID as returned in the response header `x-amz-id-2`." + examples: + - wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ= - id: registry.aws.dynamodb type: attribute_group display_name: Amazon DynamoDB Attributes