Skip to content

chore(deps): bump opentelemetry from 0.31.0 to 0.32.0#4947

Merged
houko merged 1 commit into
mainfrom
dependabot/cargo/opentelemetry-0.32.0
May 12, 2026
Merged

chore(deps): bump opentelemetry from 0.31.0 to 0.32.0#4947
houko merged 1 commit into
mainfrom
dependabot/cargo/opentelemetry-0.32.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Copy link
Copy Markdown
Contributor

Bumps opentelemetry from 0.31.0 to 0.32.0.

Release notes

Sourced from opentelemetry's releases.

0.32.0

See release notes: https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/release_0.32.md

opentelemetry-otlp 0.31.1

What's Changed

Full Changelog: open-telemetry/opentelemetry-rust@v0.31.0...opentelemetry-otlp-0.31.1

Changelog

Sourced from opentelemetry'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
  • ec289cb chore: Prepare for release v0.32.0 (#3508)
  • 3ddb386 fix(metrics): reject usize::MAX as cardinality limit (#3506)
  • bad0a1b feat(appender-tracing): re-gate span attribute enrichment behind experimental...
  • f744509 docs: update README status table and remove deprecated crates (#3502)
  • 81d5a06 chore(prometheus): restore crate to workspace (#3500)
  • 5a07ce1 ci: close stale pull requests (#3499)
  • cc87dd9 feat(appender-tracing): stabilize span attribute propagation (#3482)
  • f290595 docs(metrics): document experimental bound instruments (#3495)
  • a79eb76 fix(sdk): suppress telemetry in SimpleSpanProcessor during export (#3494)
  • aa3bda3 chore(zipkin): deprecate opentelemetry-zipkin crate (#3492)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 12, 2026
@houko
houko merged commit cf7f979 into main May 12, 2026
17 of 18 checks passed
@houko
houko deleted the dependabot/cargo/opentelemetry-0.32.0 branch May 12, 2026 05:23
houko added a commit that referenced this pull request May 12, 2026
…#4953)

dependabot #4947 bumped `opentelemetry` to 0.32 but
`[email protected]` (the latest release) still pins
`opentelemetry = "0.31"`. After the bump the dependency tree
contained two copies of `opentelemetry::trace::Tracer` — the 0.31
trait that tracing-opentelemetry uses, and the 0.32 trait that
`SdkTracerProvider::tracer()` returns — and `telemetry.rs:153`
(`tracing_opentelemetry::layer().with_tracer(tracer)`) failed
`SdkTracer: Tracer` trait bound resolution.

Effect: main CI was failing every PR with E0599
\"no method named 'tracer' found for struct 'SdkTracerProvider'\"
on Test/Unit, Test/macOS, Test/Windows, Test/Ubuntu shards,
Quality, Live Integration Smoke, OpenAPI Drift, and llvm-cov.

Revert opentelemetry, opentelemetry_sdk, and opentelemetry-otlp to
0.31; keep tracing-opentelemetry at 0.32 (still on the 0.31 train).
Add a doc-comment guarding the next bump on tracing-opentelemetry
publishing a 0.31→0.32 follow-up.

cargo check -p librefang-api → clean.
@github-actions github-actions Bot added the size/XS < 10 lines changed label May 12, 2026
GQAdonis added a commit to GQAdonis/librefang that referenced this pull request May 19, 2026
Merges 10 further upstream librefang/librefang commits onto the
2026-05-17 merge (channel-adapter pruning: drops 18 in-process adapters
across librefang#5265/librefang#5267, migrates mastodon/gotify to sidecars, dep bumps).

Conflict resolution (7 files):
- librefang-api / librefang-cli Cargo.toml: kept surreal-backend in the
  default feature set, merged upstream's updated channel-set comment.
- docs architecture + integrations pages (en + zh): took upstream's
  channel-adapter content (in-process set + sidecar note, IRC/Mumble
  doc sections removed) but kept BossFang surface strings ("BossFang
  Protocol", not "LibreFang Protocol").
- Cargo.lock: regenerated; surreal-memory 95a83b6 / UAR 0f9385d pins
  preserved.

Post-merge fixes (build breakage surfaced under default `surreal-backend`):
- Cargo.toml: reverted upstream's opentelemetry-otlp 0.31 -> 0.32 bump.
  The in-repo comment forbids 0.32 until tracing-opentelemetry depends
  on opentelemetry 0.32 (0.32.1 still pins 0.31); 0.32 leaves two
  opentelemetry trees and breaks the SpanExporter trait bound in
  telemetry.rs. Same revert dependabot librefang#4947 already had.
- context_engine/scriptable/mod.rs: restored BossFang's TraceBackend
  abstraction the 2026-05-17 merge dropped — `trace_store` field
  re-typed to `Arc<dyn TraceBackend>`, added `with_trace_backend`
  builder (the context_engine.rs caller already expects it), moved
  circuit-breaker restore into it (backend is injected after
  with_plugin_name). Disambiguated a `Memory::remember` call.
- kernel-metering/lib.rs: `MeteringEngine::new` was missing the
  `exhaustion: None` field; dropped an unused `UsageStore` import.
- routes/agents.rs: `CloneAgentRequest` reverted pub(crate) -> pub —
  the `clone_agent` handler is registered by the librefang-testing
  router builder, so pub(crate) leaked a private type cross-crate.

SurrealDB schema parity: no new .surql migration required (no upstream
SQLite schema changes in this batch).

Verification:
- cargo check --workspace --lib: PASS
- cargo check -p librefang-llm-drivers --features uar-driver
  -p librefang-storage -p librefang-uar-spec -p librefang-memory: PASS
- python3 scripts/enforce-branding.py --check: PASS (exit 0)
- Tauri audit: productName BossFang, ai.bossfang.* identifiers,
  GQAdonis updater endpoint, minisign key E329A6B2863F1707 — intact.
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 size/XS < 10 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant