Skip to content

OpenTelemetry::SDK || Requests with x_request_id #1795

Discussion options

You must be logged in to vote

Hi Alexey! The sampling decision of a parent span from an inbound web request are decoded using https://opentelemetry.io/docs/specs/otel/context/api-propagators/, the standard of which is by default traceparent(see code and w3c). If you would like opentelemetry-ruby to interpret and/or forward along x_request_id (I think this is what you're after), you'd need to write a custom propagator.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlexeyRyabchikov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1794 on January 21, 2025 17:12.