Skip to content

Commit 49cee31

Browse files
Update xrayexporter documentation on indexing attributes (#34183)
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Adding Xray Exporter Documentation - Shows users how to use dynamically indexed attributes within the SDK with Xray **Link to tracking Issue:** #34182 **Testing:** N/A **Documentation:** Update xrayexporter documentation on indexing attributes
1 parent 98ae65b commit 49cee31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exporter/awsxrayexporter/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ defined in the OpenTelemetry Semantic Conventions.
4343
| `aws.request_id` | AWS-generated unique identifier for the request. | No |
4444
| `aws.queue_url` | For operations on an Amazon SQS queue, the queue's URL. | No |
4545
| `aws.table_name` | For operations on a DynamoDB table, the name of the table. | No |
46+
| `aws.xray.annotations` | The attribute is a slice(list) attribute that contains each of the string keys. If found on the span, the `awsxrayexporter` will use them in addition to the `indexed_attributes` configuration field when categorizing which attributes to index. This can be configured with `"aws.xray.annotations"=["key1", "key2"]` (Java example: `span.setAttribute(stringArrayKey("aws.xray.annotations"), List.of("key1", "key2"))`) | No |
4647

4748
Any of these values supplied are used to populate the `aws` object in addition to any relevant data supplied
4849
by the Span Resource object. X-Ray uses this data to generate inferred segments for the remote APIs.

0 commit comments

Comments
 (0)