There is an API which allows you to pass a custom propagator as an option, but the propagator is meant to convert back and forth between a SpanContext and a carrier. Unfortunately SpanContext is private, so there's no way to actually use the API without completely reimplementing SpanContext (or importing it from the library internals). While both are technically easy, neither seems like a good idea.
There is an API which allows you to pass a custom propagator as an option, but the propagator is meant to convert back and forth between a
SpanContext
and a carrier. UnfortunatelySpanContext
is private, so there's no way to actually use the API without completely reimplementingSpanContext
(or importing it from the library internals). While both are technically easy, neither seems like a good idea.