chore(deps): update opentelemetry to 0.32 and bump labkit-rs
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| opentelemetry (source) | workspace.dependencies | minor | 0.31 -> 0.32 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
open-telemetry/opentelemetry-rust (opentelemetry)
v0.32.0
Released 2026-May-08
- Added
BoundCounter<T>andBoundHistogram<T>types that cache resolved aggregator references for a fixed attribute set. Created viaCounter::bind()andHistogram::bind(), bound instruments bypass per-call attribute lookup, providing significant performance improvements for hot paths where the same attributes are used repeatedly. Both types implementCloneso a single bound state can be shared across threads or modules without re-binding. Also adds theSyncInstrument::bind()trait method andBoundSyncInstrument<T>trait for SDK implementors; the trait method has a no-op default so customSyncInstrumentimpls degrade gracefully without panicking. Gated behind theexperimental_metrics_bound_instrumentsfeature flag. - Add
reservemethod toopentelemetry::propagation::Injectorto 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_resultwith_trace_id,with_span_id,with_end_time,with_status,with_sampling_result
- Added
#[must_use]attribute toopentelemetry::metrics::AsyncInstrumentBuilderto 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::tracetoopentelemetry_sdk::trace#3277:SamplingDecision,SamplingResult- These types are SDK implementation details and should be imported from
opentelemetry_sdk::traceinstead.
- "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
tracingevents emitted via theinternal-logsfeature - Fix panic when calling
Context::current()fromDropimplementations triggered byContextGuardcleanup (#3262).
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.