-
Notifications
You must be signed in to change notification settings - Fork 0
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
[PLATFORM-1399]: Update otel deps #83
Conversation
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]} | ||
tracing-log = {version = "0.2"} | ||
tracing-opentelemetry = {version = "0.21", optional = true} | ||
tracing-opentelemetry = {version = "0.22", optional = true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly worried about this being 0.22, while the other otel libraries are 0.21, are you sure these are compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tracing-opentelemetry 0.22 has "opentelemetry 0.21.0" in its deps (that is a bit nonsense)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One attention point could be prima_bridge
and tracing-actix-web
that both still have tracing-opentelemetry 0.21.0 (that carries opentelemetry 0.20.0)
Edit: but they are in the dev-dependencies.. So not an issue i guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't notice this, thanks! tracing-actix-web we can easily be bumped, prima_bridge (bridge.rs?) cannot and I don't like having incompatible deps but it's used in an example...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I guess it's fine this way and we can think about updating bridge.rs otel deps later on
2f341f0
https://prima-assicurazioni-spa.myjetbrains.com/youtrack/issue/PLATFORM-1399
In this PR
opentelemetry
has been bumped to0.21
and thert-tokio
feature has been removedopentelemetry-otlp
has been bumped to0.14
opentelemetry_sdk
has been introduced, with thert-tokio
featuretracing-opentelemetry
is now0.22
to match the other otel depsrt-tokio-current-thread
to map to["opentelemetry_sdk/rt-tokio-current-thread"]
, since the tokio stuff has been moved toopentelemetry_sdk