Hi guys, how's it going? I just wanted to let you ...
# support
d
Hi guys, how's it going? I just wanted to let you know that this example doesn't work (at least not anymore): https://signoz.io/blog/opentelemetry-context-propagation/#manual-context-propagation-taking-control - There's no
trace_context
parameter in
start_as_current_span
. The process seems to be a bit more involved to get manual context propagation to work with Python, I'm still trying to figure it out, but once I do I'll share it here.
r
Thanks for reporting this Diogo 🙂
cc @Ashu
d
It's actually not that complicated, just using
Copy code
propagator = propagate.get_global_textmap()
    context = propagator.extract(headers)
and
propagator.inject
does the trick. I'm doing this because my project is using a combination of NATS and Argo Workflows, so there's no automatic instrumentation available for them yet.
a
Thanks @Diogo Baeder for pointing this out. I will get the blog updated soon.