open-telemetry/opentelemetry-ruby-contrib

AWS SDK: Add an option to add tracing information to request headers instead of message attributes

Open

#718 opened on Nov 11, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Ruby (252 forks)auto 404
help wantedinstrumentation-aws_sdkkeep

Repository metrics

Stars
 (135 stars)
PR merge metrics
 (PR metrics pending)

Description

This concerns the AWS SDK instrumentation

Right now, the instrumentation injects the tracing information in SNS/SQS message attributes. If you want to make use of SNS active tracing in X-Ray, tracing information is only passed along if it is in the request header.

We could introduce a configuration option for giving the user control whether it should be injected in the message attributes or as request header.

Contributor guide