-
Notifications
You must be signed in to change notification settings - Fork 0
Update to opentelemetry 0.24 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR just to solicit help with why the trace propagation no longer works after updating to 0.24. Not planning to merge until reqwest-middleware is released - TrueLayer/reqwest-middleware#171 |
The propagation doesn't work exactly because Once |
Thank you very much for the pointer @mladedav - really appreciate it. I had used an upstream git revision of reqwest-tracing and middleware but I suspect it the same issue for I'll see about updating the versions in |
Ok that was it - with a very hacky fork of axum-tracing-opentelemetry everything works again: |
You should have only one version of opentelemetry in your dependency's graph, because opentelemetry::global used static variables to store |
FYI, I release new version of crates at https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk with support of opentelemetry 0.24 |
Yes that's a bit of a trap! I'd managed to find that using |
Currently not propagating across services (which is working in main branch).
See
Could be related to this issue - davidB/tracing-opentelemetry-instrumentation-sdk#148
Although I tried setting the tracer level to INFO and TRACE.