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
I'd like to ignore sending traces for health check paths or even all actuator paths. My spring boot app with java instrumentation and deployed as ECS service generates many X-Ray traces unnecessary (at least for me).
We are using aws-observability/aws-otel-collector deployed as a central gateway as a ECS service.
Provide config option for the agent to ignore some of the paths or other solution to the issue:
You can setup X-Ray remote sampling by following the instruction below, and then create a rule to filter out the traces you don't want to send to X-Ray
Steps to setup X-Ray sampling rules to filter traces. In general, create a rule with URL path: <health_check_path> and set both Reservoir and Rate to 0
I'd like to ignore sending traces for health check paths or even all actuator paths. My spring boot app with java instrumentation and deployed as ECS service generates many X-Ray traces unnecessary (at least for me).
We are using aws-observability/aws-otel-collector deployed as a central gateway as a ECS service.
Provide config option for the agent to ignore some of the paths or other solution to the issue:
I've found open-telemetry/opentelemetry-java-instrumentation#1060 and probably it can be the solution but it is fixed/implemented in the latest opentelemetry java agent but not in aws-otel-java-instrumentation
The text was updated successfully, but these errors were encountered: