Skip to content

chore(deps): bump opentelemetry_sdk from 0.31.0 to 0.32.1 in /codex-rs - #369

Merged
GraciousGazelles merged 6 commits into
mainfrom
dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1
Aug 2, 2026
Merged

GraciousGazelles merged 6 commits into
mainfrom
dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 26, 2026 •

Copy link
Copy Markdown

Bumps opentelemetry_sdk from 0.31.0 to 0.32.1.

Changelog

Sourced from opentelemetry_sdk's changelog.

Release Notes 0.32

OpenTelemetry Rust 0.32 continues to drive the Logs, Metrics, and Distributed Tracing components forward. The Logs and Metrics API and SDK remain stable, with no breaking changes in this release. The OTLP Exporters and the Distributed Tracing API/SDK remain in pre-stable states (Release-Candidate and Beta respectively), and this release introduces a small number of intentional breaking changes in those areas to prepare them for stabilization.

For detailed changelogs of individual crates, please refer to their respective changelog files. This document serves as a summary of the main changes.

Key Changes

Metrics SDK

  1. Bound instruments (experimental): Added Counter::bind() and Histogram::bind() returning pre-bound measurement handles (BoundCounter<T>, BoundHistogram<T>). Bound instruments resolve the attribute-to-aggregator mapping once at bind time and cache the result, eliminating per-call HashMap lookups on the hot path. Benchmarks show ~28x speedup for counter operations and ~9x for histograms. Gated behind the experimental_metrics_bound_instruments feature flag.

  2. Delta collection efficiency: Delta metrics collection now uses in-place eviction instead of draining the HashMap on every collect cycle. Stale attribute sets that received no measurements since the last collection are evicted.

  3. Stable Aggregation API: Aggregation and StreamBuilder::with_aggregation() are now stable and no longer require the spec_unstable_metrics_views feature flag.

Logs

  1. Tracing-span attribute enrichment (experimental): The opentelemetry-appender-tracing crate can now copy attributes from active tracing spans onto each emitted log record. ("Span" here refers to tracing::span!, not an opentelemetry::trace::Span.) Enrichment is disabled by default with zero per-span overhead, and is gated behind the new experimental_span_attributes cargo feature.

  2. spec_unstable_logs_enabled removed: The capability (and the backing specification) is now stable and is enabled by default. The feature flag has been removed.

Distributed Tracing (Beta)

The Distributed Tracing API and SDK remain in beta. This release contains intentional breaking changes to clean up the public surface ahead of

... (truncated)

Commits
  • 74cb6f3 chore: Release opentelemetry-semantic-conventions 0.32.1 (#3562)
  • 10dde18 chore(sdk): add missing changelog entry (#3550)
  • ec2da12 refactor: leverage static str key when possible (#3529)
  • 90a39a0 feat(api): accept quoted-key fields in otel logging macros (#3567)
  • 8c922bc feat(appender-tracing): add builder support for custom instrumentation scope ...
  • fb2af9d feat(metrics): add BoundUpDownCounter under experimental_metrics_bound_instru...
  • 1b3846c feat(metrics): add BoundGauge under experimental_metrics_bound_instruments (#...
  • ee359db fix: remove reqwest-rustls-webpki-roots (#3524)
  • 4d4fd4d chore: Bump semantic-conventions to v1.42.0 (#3561)
  • 69213f2 fix(prometheus-exporter): Concatenate metric attributes with Scope during col...
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch 5 times, most recently from 14f0fb7 to af088ae Compare June 27, 2026 05:35
@dependabot dependabot Bot changed the title build(deps): bump opentelemetry_sdk from 0.31.0 to 0.32.1 in /codex-rs Bump opentelemetry_sdk from 0.31.0 to 0.32.1 in /codex-rs Jul 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch 3 times, most recently from d4f8c34 to de2c5eb Compare July 7, 2026 04:15
@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch from de2c5eb to 0e4c4d7 Compare July 13, 2026 00:34
@dependabot dependabot Bot changed the title Bump opentelemetry_sdk from 0.31.0 to 0.32.1 in /codex-rs chore(deps): bump opentelemetry_sdk from 0.31.0 to 0.32.1 in /codex-rs Jul 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch 3 times, most recently from 49ec9a6 to 4624e08 Compare July 25, 2026 07:01
@GraciousGazelles

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch from 4624e08 to 0e9fe74 Compare July 29, 2026 06:09
@GraciousGazelles
GraciousGazelles enabled auto-merge (squash) July 29, 2026 06:13
@GraciousGazelles

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch from 0e9fe74 to 238e782 Compare July 29, 2026 07:41
@GraciousGazelles
GraciousGazelles force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch 6 times, most recently from 774e0f5 to d7a4f89 Compare August 1, 2026 19:40
@GraciousGazelles
GraciousGazelles force-pushed the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch from a741cbd to ef2e3f8 Compare August 1, 2026 23:26
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Aug 2, 2026
Merged via the queue into main with commit d6719d4 Aug 2, 2026
129 of 134 checks passed
@GraciousGazelles
GraciousGazelles deleted the dependabot/cargo/codex-rs/opentelemetry_sdk-0.32.1 branch August 2, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant