-
Notifications
You must be signed in to change notification settings - Fork 2.5k
trace moved from otel/api/trace into otel #1541
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
Such update should wait until Otel v0.14 is released. |
@vmihailenco i read up a bit on how to use the go module system [1] and it appears to me this is a problem concerning redis and opentelemetry. go sees the tag in go.mod as a 'minimum version'. as a consequence, their recommendation is this:
API changes like the added context in go-redis and opentelemetry's moved API make updates ( |
EDIT: opentelemetry-go aims to improve their readme to more clearly state that the API is not yet stable. |
There are 2 unrelated problems:
We can't do anything about the 2), but you definitely can/should use Go modules.
It does not (until there is a new Otel release with breaking changes). I have multiple projects and |
@vmihailenco i've come to a different conclusion on what was intended with and what can be expected of go modules than you. my concern is about running
i'm one of those users. i won't tell you that it's your mistake to use opentelemetry - that discussion was taken to their issue tracker. what i will say is that go-redis added the context parameter and that i'd rather have fixed a few deprecation warnings at a time of my chosing than to squeeze in changes during deployment. |
to be clear on why this can still break when the project using go-redis uses modules:
When a higher version number for otel is checked out or requested via another dependency or the main project, that higher version will be used and go-redis won't compile. |
open-telemetry/opentelemetry-go@27c84d6#diff-14c2529eb4498c5d1ffd6915d05bf58a91bdda796af59f41d480d11c099d0479
Not this sure this workflow works at all.