Replies: 1 comment 2 replies
-
|
The Rust OpenTelemetry crates have a bunch of global magic for keeping track of the current tracing information. Having this work correctly is dependant on everything in the codebase using the same single version of the OpenTelemetry crates. If you're running a web server with OpenTelemetry Tower middleware on the server, an OpenTelemetry sender task, a logging setup making use of the OpenTelemetry tracing info, and using this Reqwest middleware to put tracing information on your outgoing requests, then having the same OpenTelemetry crate version for all of those things lets the tracing information be consistent through all of those parts. If any of them are different, then those various parts may get their own independent traces which are disconnected from everything else. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation says:
Are the features all orthogonal? (I.e. is it safe to enable multiple versions?) What happens if the version of the OTEL library used in the rest of the code doesn't match the feature(s) enabled?
Does a feature flag for version 0.31 need to be added?
Beta Was this translation helpful? Give feedback.
All reactions