chore(deps): update rust crate opentelemetry to 0.32.0 #6

Open
renovate-bot wants to merge 1 commit from renovate/opentelemetry-rust-monorepo into master
Member

This PR contains the following updates:

Package Type Update Change
opentelemetry (source) dependencies minor 0.31.00.32.0

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

v0.32.0

Compare Source

Released 2026-May-08

  • Added BoundCounter<T> and BoundHistogram<T> types that cache resolved
    aggregator references for a fixed attribute set. Created via Counter::bind()
    and Histogram::bind(), bound instruments bypass per-call attribute lookup,
    providing significant performance improvements for hot paths where the same
    attributes are used repeatedly. Both types implement Clone so a single bound
    state can be shared across threads or modules without re-binding. Also adds
    the SyncInstrument::bind() trait method and BoundSyncInstrument<T> trait
    for SDK implementors; the trait method has a no-op default so custom
    SyncInstrument impls degrade gracefully without panicking. Gated behind the
    experimental_metrics_bound_instruments feature flag.
  • Add reserve method to opentelemetry::propagation::Injector to hint at the number of elements that will be added to avoid multiple resize operations of the underlying data structure. Has an empty default implementation.
  • Breaking Removed the following public fields and methods from the SpanBuilder #​3227:
    • trace_id, span_id, end_time, status, sampling_result
    • with_trace_id, with_span_id, with_end_time, with_status, with_sampling_result
  • Added #[must_use] attribute to opentelemetry::metrics::AsyncInstrumentBuilder to add compile time warning when .build() is not called on observable instrument builders, preventing silent failures where callbacks are never registered and metrics are never reported.
  • Breaking Moved the following SDK sampling types from opentelemetry::trace to opentelemetry_sdk::trace #​3277:
    • SamplingDecision, SamplingResult
    • These types are SDK implementation details and should be imported from opentelemetry_sdk::trace instead.
  • "spec_unstable_logs_enabled" feature flag is removed. The capability (and the
    backing specification) is now stable and is enabled by default.
    3278
  • Remove the empty "message" field from tracing events emitted via the internal-logs feature
  • Fix panic when calling Context::current() from Drop implementations triggered by ContextGuard cleanup (#​3262).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry) ([source](https://github.com/open-telemetry/opentelemetry-rust/tree/HEAD/opentelemetry)) | dependencies | minor | `0.31.0` → `0.32.0` | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-rust (opentelemetry)</summary> ### [`v0.32.0`](https://github.com/open-telemetry/opentelemetry-rust/blob/HEAD/opentelemetry/CHANGELOG.md#0320) [Compare Source](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.31.0...opentelemetry-0.32.0) Released 2026-May-08 - **Added** `BoundCounter<T>` and `BoundHistogram<T>` types that cache resolved aggregator references for a fixed attribute set. Created via `Counter::bind()` and `Histogram::bind()`, bound instruments bypass per-call attribute lookup, providing significant performance improvements for hot paths where the same attributes are used repeatedly. Both types implement `Clone` so a single bound state can be shared across threads or modules without re-binding. Also adds the `SyncInstrument::bind()` trait method and `BoundSyncInstrument<T>` trait for SDK implementors; the trait method has a no-op default so custom `SyncInstrument` impls degrade gracefully without panicking. Gated behind the `experimental_metrics_bound_instruments` feature flag. - Add `reserve` method to `opentelemetry::propagation::Injector` to hint at the number of elements that will be added to avoid multiple resize operations of the underlying data structure. Has an empty default implementation. - **Breaking** Removed the following public fields and methods from the `SpanBuilder` [#&#8203;3227][3227]: - `trace_id`, `span_id`, `end_time`, `status`, `sampling_result` - `with_trace_id`, `with_span_id`, `with_end_time`, `with_status`, `with_sampling_result` - **Added** `#[must_use]` attribute to `opentelemetry::metrics::AsyncInstrumentBuilder` to add compile time warning when `.build()` is not called on observable instrument builders, preventing silent failures where callbacks are never registered and metrics are never reported. - **Breaking** Moved the following SDK sampling types from `opentelemetry::trace` to `opentelemetry_sdk::trace` [#&#8203;3277][3277]: - `SamplingDecision`, `SamplingResult` - These types are SDK implementation details and should be imported from `opentelemetry_sdk::trace` instead. - "spec\_unstable\_logs\_enabled" feature flag is removed. The capability (and the backing specification) is now stable and is enabled by default. [3278](https://github.com/open-telemetry/opentelemetry-rust/pull/3278) - Remove the empty "message" field from `tracing` events emitted via the `internal-logs` feature - Fix panic when calling `Context::current()` from `Drop` implementations triggered by `ContextGuard` cleanup ([#&#8203;3262][3262]). [3227]: https://github.com/open-telemetry/opentelemetry-rust/pull/3227 [3262]: https://github.com/open-telemetry/opentelemetry-rust/pull/3262 [3277]: https://github.com/open-telemetry/opentelemetry-rust/pull/3277 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
chore(deps): update rust crate opentelemetry to 0.32.0
Some checks failed
renovate/artifacts Artifact file update failure
24a2b78c96
Author
Member

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package opentelemetry@0.31.0 --precise 0.32.0
    Updating crates.io index
error: failed to select a version for the requirement `opentelemetry = "^0.31.0"`
candidate versions found which didn't match: 0.32.0
location searched: crates.io index
required by package `tracing-opentelemetry v0.32.1`
    ... which satisfies dependency `tracing-opentelemetry = "^0.32.1"` of package `typed-nats v0.0.0 (/tmp/renovate/repos/forgejo/smyth/typed-nats)`
    ... which satisfies path dependency `typed-nats` (locked to 0.0.0) of package `capnp-example v0.0.0 (/tmp/renovate/repos/forgejo/smyth/typed-nats/examples/capnp-example)`

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package opentelemetry@0.31.0 --precise 0.32.0 Updating crates.io index error: failed to select a version for the requirement `opentelemetry = "^0.31.0"` candidate versions found which didn't match: 0.32.0 location searched: crates.io index required by package `tracing-opentelemetry v0.32.1` ... which satisfies dependency `tracing-opentelemetry = "^0.32.1"` of package `typed-nats v0.0.0 (/tmp/renovate/repos/forgejo/smyth/typed-nats)` ... which satisfies path dependency `typed-nats` (locked to 0.0.0) of package `capnp-example v0.0.0 (/tmp/renovate/repos/forgejo/smyth/typed-nats/examples/capnp-example)` ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/opentelemetry-rust-monorepo:renovate/opentelemetry-rust-monorepo
git switch renovate/opentelemetry-rust-monorepo

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/opentelemetry-rust-monorepo
git switch renovate/opentelemetry-rust-monorepo
git rebase master
git switch master
git merge --ff-only renovate/opentelemetry-rust-monorepo
git switch renovate/opentelemetry-rust-monorepo
git rebase master
git switch master
git merge --no-ff renovate/opentelemetry-rust-monorepo
git switch master
git merge --squash renovate/opentelemetry-rust-monorepo
git switch master
git merge --ff-only renovate/opentelemetry-rust-monorepo
git switch master
git merge renovate/opentelemetry-rust-monorepo
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
smyth/typed-nats!6
No description provided.