dependabot[bot] opened a new pull request, #510: URL: https://github.com/apache/doris-opentelemetry-demo/pull/510
Bumps [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) from 0.22.1 to 0.32.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-rust/releases">opentelemetry_sdk's releases</a>.</em></p> <blockquote> <h2>opentelemetry_sdk-0.27.1 patch release</h2> <p>Refer to opentelemetry-sdk <a href="https://github.com/open-telemetry/opentelemetry-rust/blob/opentelemetry_sdk-0.27.1/opentelemetry-sdk/CHANGELOG.md#0271">CHANGELOG</a> for the changes.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/release_0.32.md">opentelemetry_sdk's changelog</a>.</em></p> <blockquote> <h1>Release Notes 0.32</h1> <p>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.</p> <p>For detailed changelogs of individual crates, please refer to their respective changelog files. This document serves as a summary of the main changes.</p> <h2>Key Changes</h2> <h3>Metrics SDK</h3> <ol> <li> <p><strong>Bound instruments (experimental)</strong>: Added <code>Counter::bind()</code> and <code>Histogram::bind()</code> returning pre-bound measurement handles (<code>BoundCounter<T></code>, <code>BoundHistogram<T></code>). 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 <code>experimental_metrics_bound_instruments</code> feature flag.</p> </li> <li> <p><strong>Delta collection efficiency</strong>: 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.</p> </li> <li> <p><strong>Stable <code>Aggregation</code> API</strong>: <code>Aggregation</code> and <code>StreamBuilder::with_aggregation()</code> are now stable and no longer require the <code>spec_unstable_metrics_views</code> feature flag.</p> </li> </ol> <h3>Logs</h3> <ol> <li> <p><strong>Tracing-span attribute enrichment (experimental)</strong>: The <code>opentelemetry-appender-tracing</code> crate can now copy attributes from active <code>tracing</code> spans onto each emitted log record. ("Span" here refers to <code>tracing::span!</code>, not an <code>opentelemetry::trace::Span</code>.) Enrichment is disabled by default with zero per-span overhead, and is gated behind the new <code>experimental_span_attributes</code> cargo feature.</p> </li> <li> <p><strong><code>spec_unstable_logs_enabled</code> removed</strong>: The capability (and the backing specification) is now stable and is enabled by default. The feature flag has been removed.</p> </li> </ol> <h3>Distributed Tracing (Beta)</h3> <p>The Distributed Tracing API and SDK remain in beta. This release contains intentional breaking changes to clean up the public surface ahead of</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/74cb6f3a4129bf11fa3191f28d38c518c4ec4ae6"><code>74cb6f3</code></a> chore: Release opentelemetry-semantic-conventions 0.32.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3562">#3562</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/10dde1813e2ec93f819b115b50f0c9746f4b7ddf"><code>10dde18</code></a> chore(sdk): add missing changelog entry (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3550">#3550</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/ec2da129b01b1e88ec17e28a55ba05001cc2aa1c"><code>ec2da12</code></a> refactor: leverage static str key when possible (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3529">#3529</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/90a39a0b5b1db04c495a213090c152f6ae3454bf"><code>90a39a0</code></a> feat(api): accept quoted-key fields in otel logging macros (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3567">#3567</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/8c922bc62dcc4b114faf2e74e0d4a50efc4433f5"><code>8c922bc</code></a> feat(appender-tracing): add builder support for custom instrumentation scope ...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/fb2af9d76e26201b0848a837231b44ebad30867d"><code>fb2af9d</code></a> feat(metrics): add BoundUpDownCounter under experimental_metrics_bound_instru...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/1b3846ca8f0c204007c91b0a9860e498c674038f"><code>1b3846c</code></a> feat(metrics): add BoundGauge under experimental_metrics_bound_instruments (#...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/ee359dbb863e149d0277031a3b3fb9b41f7bee3d"><code>ee359db</code></a> fix: remove reqwest-rustls-webpki-roots (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3524">#3524</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/4d4fd4d4b3a2ebf203efa6612f397034925c82fe"><code>4d4fd4d</code></a> chore: Bump semantic-conventions to v1.42.0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/3561">#3561</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/69213f2047647b56bc27dfa84726d3ff94a945d3"><code>69213f2</code></a> fix(prometheus-exporter): Concatenate metric attributes with Scope during col...</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-rust/compare/v0.22.1...opentelemetry-semantic-conventions-0.32.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/doris-opentelemetry-demo/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
