-
Notifications
You must be signed in to change notification settings - Fork 498
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
Build Errors with recent OpenTelemetry SDK update 0.26.0 with the trait `opentelemetry::trace::tracer::Tracer' #2167
Comments
What is the version of tracing_opentelemetry you are using? I don't think there is a version available supporting otel v26. refer - tokio-rs/tracing-opentelemetry#169 |
@lalitb From my Cargo.toml, i am using these dependencies. and the tracing version is opentelemetry = "0.26.0" tracing = { version = "0.1.40", features = ["log"] } However I am seeing both version from Cargo.lock : [[package]] [[package]] |
@douggynix This won't work, you need to wait for tracing-opentelemetry v0.27.0, which will bring the support for otel v0.26. |
I have 'reqwest' crate with tracing feature enabled. It seems pointing to the older version of the tracing crate: |
You would suggest me to downgrade opentelemetry sdk. Thanks for your suggestion. I am going to undo all these updates |
Closing this issue as the error is caused by incompatible OpenTelemetry versions across other crates that are bringing OpenTelemetry as a dependency. |
Opentelemetry SDK recent update seems breaking some features provided in the documentation itself. For example, this one below is giving errors about Traits not implemented.
Is there a pending fix for this issue? This recent update is breaking code that was working before as stated being correct by the official documentation.
The text was updated successfully, but these errors were encountered: