build(deps)!: Upgrade to opentelemetry 0.32#23
Open
jens1o wants to merge 1 commit into
Open
Conversation
BREAKING CHANGE: upgrading the otel version is deemed as breaking as the otel code might break downstream code silently
Author
|
I want to test this in my setup using a hot patch in our nonprod-setup, I'll report back whether it works - tests are passing on my local dev machine. |
Author
|
I can confirm that this works on a nonprod deployment, I used # Hotpatch: point at jens1o's fork until open-schnick/DatadogFormattingLayer#23
# is merged and a v8 release lands on crates.io.
datadog-formatting-layer = { git = "https://github.com/jens1o/DatadogFormattingLayer.git", rev = "098c2c0bc1dbe0a8b2ff33fbbc131fb92c016dbc" }
# Pinned to match the versions that `datadog-formatting-layer` (PR #23, v8) was
# compiled against. Bumping past these splits the OTel global state into
# two parallel copies and breaks trace ↔ log correlation (the dd layer
# can no longer find the `OtelData` extension the layer wrote in).
opentelemetry = "0.32"
opentelemetry_sdk = { version = "0.32", features = ["rt-tokio"] }
opentelemetry-datadog = { version = "0.20", features = [
"reqwest-blocking-client",
] }
tracing-opentelemetry = "0.33" |
open-schnick
requested changes
May 29, 2026
| license = "Apache-2.0" | ||
| keywords = ["tracing", "tracing-subscriber", "layer", "datadog"] | ||
| categories = ["development-tools::debugging"] | ||
| version = "7.0.0" |
Owner
There was a problem hiding this comment.
the version will get bumped automatically by release-plz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the OTel dependency stack to
opentelemetry 0.32/tracing-opentelemetry 0.33and bumps the crate to 8.0.0 per the established "OTel minor = breaking" policy.There was a breaking change in
tracing-opentelemetry, see https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.33.0 - I oriented myself after this example to see how they suggest it: https://github.com/tokio-rs/tracing-opentelemetry/blob/1d5422f1f37932fd65e434da618b305d4c94ee9c/examples/otel_context.rs