-
Notifications
You must be signed in to change notification settings - Fork 84
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
Sync tracing-opentelemetry and opentelemetry crate versions #170
Comments
This is basically impossible until opentelemetry skips some numbers. |
I'm not advocating for this, but what I think One good argument against synchronising is that it would prevent this library to make any breaking changes unless OpenTelemetry also releases breaking changes. Not that this is something that happens often, but it's nice that we have the option if needed. What I think could help would be re-exporting |
I was bitten by this today, new to the using these crates. I think a note in the readme would have been useful. I guess there is already this:
but many of the versions didn't match with the current latest so I glossed over it. Updating it to the current latest supported versions might help avoid confusion. |
I feel like this crate has more of a 1:1 mapping from the upstream releases to releases of this crate, so I don't think that approach really makes sense here.
Yup, I think keeping versions in sync across administrative/organizational boundaries is pretty unlikely. Maybe at some point the functionality of this crate will be subsumed by the upstream project, in which case the calculus here may change.
I guess it could help but it doesn't feel like the obvious to do thing in this case. That is, I feel like "wrapping" the dependency like that makes sense when a crate is like the main entry point for downstreams to the upstream crates, but not so much when the crate is more like an integration crate matching up two other different (suites of) crates, as is the case here. It feels to me like downstream projects mostly depend on this crate to integrate the opentelemetry and tracing ecosystems, and acting as if tracing-opentelemetry ought to be the focus point for that feels wrong to me. |
I ran into this problem today as well, and it was a quite a challenge to figure out why the compiler was telling me that I've forked this repo in order to help with this, and was thinking of adding a note early on in the Overview section. Does that seem like a reasonable place for it? The |
Happy to review a PR that adds a note to the README, the Overview section sounds about right. I'd probably prefer to remove the example from the README in favor of keeping it in |
Sounds good. I'll have a PR up soon. |
PR #171 is up. I decided to add a new section just below the Overview section to make it stand out more. I kept the "basic usage" example, but updated the I also added to the "visualization example" section, including a minimal |
Feature Request
It would be nice if
tracing-opentelemetry
version was synced withopentelmetry
version.For instance, the fact that
tracing-opentelemtry 0.26
depends onopentelemetry 0.25
and not on0.26
could lead to confusion.The text was updated successfully, but these errors were encountered: