From opentelemetry-otlp@16: trait
opentelemetry::trace::tracer::Tracer is not implemented for
opentelemetry_sdk::trace::Tracer``
#1779
Unanswered
frederikhors
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I had a similar problem and solved it by adjusting the crate versions. Here are the dependencies that worked for me: tracing-subscriber = { version= "0.3.18", features = ["env-filter"]}
tracing = "0.1.40"
tracing-opentelemetry = "0.23.0"
opentelemetry-jaeger = { version = "0.21.0", features = ["full"] }
opentelemetry = "0.22.0"
opentelemetry_sdk = { version = "0.22.1", features = [ "rt-tokio", "rt-tokio-current-thread"] }
opentelemetry-jaeger-propagator = "0.1.0"
opentelemetry-otlp = { version = "0.15.0", features = ["tokio"]}
opentelemetry-semantic-conventions = "0.15.0" |
Beta Was this translation helpful? Give feedback.
1 reply
-
It appears to be a version mismatch issue. The tracing-opentelemetry v0.23.0 is currently using OpenTelemetry v0.22: https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.23.0
You will be able to use OpenTelemetry v0.23 only after tracing-opentelemetry releases a new version that supports it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With these deps:
I'm using:
and it works.
Now with these deps:
I'm getting this error:
How can I fix?
Beta Was this translation helpful? Give feedback.
All reactions