Skip to content

Commit e74c875

Browse files
committed
Add observation in the log correlation section
Signed-off-by: Raphael Silva <[email protected]>
1 parent 24ecd79 commit e74c875

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/docs/getting-started/x-ray.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ The attributes in this section are translated into the AWS resource field `cloud
191191
| aws.log.group.arns | cloudwatch_logs.arn | |
192192
| aws.log.group.names | cloudwatch_logs.log_group | If both `aws.log.group.arns` and `aws.log.group.names` are defined, precedence is given to `aws.log.group.arns` |
193193

194+
Obs.: These resource attributes are of type array and cannot be set using the OTEL_RESOURCE_ATTRIBUTES environment variable. Currently you have to setup this resource attribute programatically.
195+
194196
See [AWS X-Ray Segment Documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html) for more information on the AWS X-Ray data model. See [OpenTelemetry data model spec](https://github.com/open-telemetry/opentelemetry-specification) for more information on OpenTelemetry data model. See [X-Ray Logging Configuration](https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-configuration.html#xray-sdk-java-configuration-logging) for references of expected log pattern.
195197

196198
### Enable The Customized X-Ray Annotations

0 commit comments

Comments
 (0)