---
title: "tracing-opentelemetry 0.33.0 Breaking Changes on crates.io"
description: "What each tracing-opentelemetry release removed, renamed or changed: 17 breaking changes in 4 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/tracing-opentelemetry
last_updated: 2026-12-04
---

# 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

Latest version `0.34.0`, released September 23, 2026. [Source repository](https://github.com/tokio-rs/tracing-opentelemetry)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.29.0](#v-0-29-0) to [0.33.0](#v-0-33-0): 15 breaking changes in 3 versions.

## tracing-opentelemetry 0.33.0 breaking changes

tracing-opentelemetry 0.33.0, released May 18, 2026: 2 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](https://crates.io/crates/tracing-opentelemetry/0.33.0)
- **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](https://crates.io/crates/tracing-opentelemetry/0.33.0)

## tracing-opentelemetry 0.32.0 breaking changes

tracing-opentelemetry 0.32.0, released September 30, 2025: 12 breaking changes.

- **Removed** `metrics_gauge_unstable`  

The metrics_gauge_unstable feature was removed. Code that enables it must drop that feature flag. [github.com](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.32.0)
- **Removed** `tracing_opentelemetry::OtelData::builder`  

tracing_opentelemetry::OtelData::builder was removed in tracing-opentelemetry 0.32.0 [crates.io](https://crates.io/crates/tracing-opentelemetry/0.32.0)
- **Removed** `tracing_opentelemetry::OtelData::parent_cx`  

tracing_opentelemetry::OtelData::parent_cx was removed in tracing-opentelemetry 0.32.0 [crates.io](https://crates.io/crates/tracing-opentelemetry/0.32.0)
- **Removed** `tracing_opentelemetry::PreSampledTracer`  

tracing_opentelemetry::PreSampledTracer was removed in tracing-opentelemetry 0.32.0 [crates.io](https://crates.io/crates/tracing-opentelemetry/0.32.0)
- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.32.0)
- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.32.0)
- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.32.0)
- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.32.0)
- **Signature changed** `tracing_opentelemetry::MetricsLayer`  

Was struct MetricsLayer\<S>; now struct MetricsLayer\<S, M>. [crates.io](https://crates.io/crates/tracing-opentelemetry/0.32.0)
- **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](https://crates.io/crates/tracing-opentelemetry/0.32.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tracing-opentelemetry 0.31.0 breaking changes

tracing-opentelemetry 0.31.0, released June 2, 2025: 1 breaking change.

- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.31.0)

## tracing-opentelemetry 0.29.0 breaking changes

tracing-opentelemetry 0.29.0, released February 12, 2025: 2 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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.29.0)
- **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](https://github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.29.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
