You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/08/24 01:13:22 UTC
[PR] Bump opentelemetry_sdk from 0.31.0 to 0.32.1 [spark-connect-gateway]
dependabot[bot] opened a new pull request, #8:
URL: https://github.com/apache/spark-connect-gateway/pull/8
Bumps [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) from 0.31.0 to 0.32.1.
<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.31.0...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/spark-connect-gateway/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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] Bump opentelemetry_sdk from 0.31.0 to 0.32.1 [spark-connect-gateway]
Posted by "viirya (via GitHub)" <gi...@apache.org>.
viirya commented on PR #8:
URL: https://github.com/apache/spark-connect-gateway/pull/8#issuecomment-5688061009
Closing this in favour of a manual upgrade of the whole OpenTelemetry group.
Two reasons this PR cannot land as-is.
**1. The base predates the code import, so the diff removes a workspace member.**
Alongside the version bump, it deletes `crates/gateway` from `[workspace].members`
— that crate had not landed yet when this branch was cut. Merging would drop the
gateway binary from the workspace.
**2. Bumping `opentelemetry_sdk` alone cannot compile.** The other six
`opentelemetry*` crates stay at 0.31, so both 0.31 and 0.32 of `opentelemetry`
end up in the dependency graph and the traits no longer line up. Verified
locally on current `main`:
```
error[E0308]: mismatched types
--> crates/observability/src/tracing.rs:167:25
error[E0277]: the trait bound `opentelemetry_otlp::SpanExporter:
opentelemetry_sdk::trace::SpanExporter` is not satisfied
--> crates/observability/src/tracing.rs:199:30
error[E0277]: the trait bound `TraceContextPropagator: TextMapPropagator`
is not satisfied
--> crates/observability/src/tracing.rs:206:37
```
There is a second layer as well: moving the whole group to 0.32 is not enough,
because `tracing-opentelemetry` 0.32 itself depends on `opentelemetry` 0.31 and
pulls it back in. The combination that builds is the seven `opentelemetry*`
crates at 0.32 **and** `tracing-opentelemetry` at 0.33.
I verified that combination on current `main`: 204 tests pass, `clippy
--workspace --all-targets -D warnings` and `cargo fmt --check` are clean, and the
`tracing_emits_spans_and_propagates_traceparent` integration test still passes —
that last one matters, because feature unification in this dependency group has
previously caused application spans to be dropped silently.
A follow-up PR will make that coordinated bump. Thanks, dependabot.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] Bump opentelemetry_sdk from 0.31.0 to 0.32.1 [spark-connect-gateway]
Posted by "viirya (via GitHub)" <gi...@apache.org>.
viirya closed pull request #8: Bump opentelemetry_sdk from 0.31.0 to 0.32.1
URL: https://github.com/apache/spark-connect-gateway/pull/8
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] Bump opentelemetry_sdk from 0.31.0 to 0.32.1 [spark-connect-gateway]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #8:
URL: https://github.com/apache/spark-connect-gateway/pull/8#issuecomment-5688063030
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org