tracing-opentelemetry breaking changes
tracing-opentelemetry 0.33.0 (May 18, 2026) is its newest release with breaking changes, 2 of them. The first: Removed tracing_opentelemetry::OtelData. Every breaking API change we have recorded in tracing-opentelemetry on crates.io: 17 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.34.0, released September 23, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
tracing-opentelemetry 0.33.0 breaking changes
- Removed
tracing_opentelemetry::OtelData
Span state is now stored behind an Arc<Mutex>, so OtelData can no longer be read from extensions. Code that used OtelData from extensions must stop doing so. crates.io - Signature changed
tracing_opentelemetry::get_otel_context
Was fn get_otel_context(extensions: &mut ExtensionsMut<'_>, dispatch: &Dispatch) -> Option<opentelemetry::Context>; now fn get_otel_context(span_id: &span::Id, dispatch: &Dispatch) -> Option<opentelemetry::Context>. crates.io
tracing-opentelemetry 0.32.0 breaking changes
- Removed
metrics_gauge_unstable
The metrics_gauge_unstable feature was removed. Code that enables it must drop that feature flag. github.com - Removed
tracing_opentelemetry::OtelData::builder
tracing_opentelemetry::OtelData::builder was removed in tracing-opentelemetry 0.32.0 crates.io - Removed
tracing_opentelemetry::OtelData::parent_cx
tracing_opentelemetry::OtelData::parent_cx was removed in tracing-opentelemetry 0.32.0 crates.io - Removed
tracing_opentelemetry::PreSampledTracer
tracing_opentelemetry::PreSampledTracer was removed in tracing-opentelemetry 0.32.0 crates.io - Renamed
code.filepath
The code.filepath, code.lineno and code.namespace attributes were renamed to code.file.path, code.line.number and code.module.name. Update any code or dashboards that read the old names. github.com - Renamed
code.lineno
The code.filepath, code.lineno and code.namespace attributes were renamed to code.file.path, code.line.number and code.module.name. Update any code or dashboards that read the old names. github.com - Renamed
code.namespace
The code.filepath, code.lineno and code.namespace attributes were renamed to code.file.path, code.line.number and code.module.name. Update any code or dashboards that read the old names. github.com - Renamed
otel.status_message
The otel.status_message attribute was changed to otel.status_description. Update code that sets or reads the old attribute. github.com - Signature changed
tracing_opentelemetry::MetricsLayer
Was struct MetricsLayer<S>; now struct MetricsLayer<S, M>. crates.io - Signature changed
tracing_opentelemetry::MetricsLayer::new
Was fn new<M>(meter_provider: M) -> MetricsLayer<S> where M: MeterProvider,; now fn new(meter_provider: M) -> MetricsLayer<S, M> where M: MeterProvider,. crates.io
And 2 more in this version. Sign up to see every change
tracing-opentelemetry 0.31.0 breaking changes
- Behavior changed
The crate now depends on opentelemetry 0.30.0, so code that uses opentelemetry types must move to that version too. github.com
tracing-opentelemetry 0.29.0 breaking changes
- Behavior changed
Events now use the tracing event name as the OpenTelemetry event name. Code or dashboards that match the old event name must be updated. github.com - Configuration changed
The crate now depends on opentelemetry 0.28. Code that uses opentelemetry types directly may need to be updated to match that version. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.