You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: exporter/awsxrayexporter/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ defined in the OpenTelemetry Semantic Conventions.
43
43
|`aws.request_id`| AWS-generated unique identifier for the request. | No |
44
44
|`aws.queue_url`| For operations on an Amazon SQS queue, the queue's URL. | No |
45
45
|`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 |
46
47
47
48
Any of these values supplied are used to populate the `aws` object in addition to any relevant data supplied
48
49
by the Span Resource object. X-Ray uses this data to generate inferred segments for the remote APIs.
0 commit comments