Skip to content

Apprunner buildin adot doesn't support xray remote sampling #1350

@vasilesurduwl

Description

@vasilesurduwl

When enabling OTEL_TRACES_SAMPLER = xray env variable in AppRunner, it doesn't find the 2000 port

[otel.javaagent 2025-12-27 12:12:50:293 +0000] [xray-rules-poller] DEBUG io.opentelemetry.contrib.awsxray.AwsXrayRemoteSampler - Failed to update sampler
  | 2025-12-27T12:12:50.293Z | java.io.UncheckedIOException: Failed to execute sampling request.
  | 2025-12-27T12:12:50.293Z | at io.opentelemetry.contrib.awsxray.XraySamplerClient.executeJsonRequest(XraySamplerClient.java:104)
.........
  | 2025-12-27T12:12:50.294Z | at java.base/java.lang.Thread.run(Unknown Source)
  | 2025-12-27T12:12:50.294ZCaused by: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:2000 |  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions