Commit dd430db
authored
Update Rust crate opentelemetry to 0.29.1 (#1704)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[opentelemetry](https://redirect.github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry)
([source](https://redirect.github.com/open-telemetry/opentelemetry-rust/tree/HEAD/opentelemetry))
| workspace.dependencies | minor | `0.28.0` -> `0.29.1` |
---
### Release Notes
<details>
<summary>open-telemetry/opentelemetry-rust (opentelemetry)</summary>
###
[`v0.29.1`](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/HEAD/opentelemetry/CHANGELOG.md#0291)
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-rust/compare/opentelemetry-0.29.0...opentelemetry-0.29.1)
Release 2025-Apr-01
- Bug Fix: Re-export `WithContext` at
`opentelemetry::trace::context::WithContext`
[#​2879](https://redirect.github.com/open-telemetry/opentelemetry-rust/pull/2879)
to restore backwards compatability
- The new path for `WithContext` and `FutureExt` are in
`opentelemetry::context` as they are independent of the trace signal.
Users should prefer this path.
###
[`v0.29.0`](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/HEAD/opentelemetry/CHANGELOG.md#0290)
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-rust/compare/opentelemetry-0.28.0...opentelemetry-0.29.0)
Released 2025-Mar-21
- *Breaking* Moved `ExportError` trait from
`opentelemetry::trace::ExportError` to
`opentelemetry_sdk::export::ExportError`
- *Breaking* Moved `TraceError` enum from
`opentelemetry::trace::TraceError` to
`opentelemetry_sdk::trace::TraceError`
- *Breaking* Moved `TraceResult` type alias from
`opentelemetry::trace::TraceResult` to
`opentelemetry_sdk::trace::TraceResult`
- Bug Fix: `InstrumentationScope` implementation for `PartialEq` and
`Hash` fixed to include Attributes also.
- **Breaking changes for baggage users**:
[#​2717](https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/2717)
- Changed value type of `Baggage` from `Value` to `StringValue`
- Updated `Baggage` constants to reflect latest standard
(`MAX_KEY_VALUE_PAIRS` - 180 -> 64, `MAX_BYTES_FOR_ONE_PAIR` - removed)
and increased insert performance see
#[2284](https://redirect.github.com/open-telemetry/opentelemetry-rust/pull/2284).
- Align `Baggage.remove()` signature with `.get()` to take the key as a
reference
- `Baggage` can't be retrieved from the `Context` directly anymore and
needs to be accessed via `context.baggage()`
- `with_baggage()` and `current_with_baggage()` override any existing
`Baggage` in the `Context`
- `Baggage` keys can't be empty and only allow ASCII visual chars,
except `"(),/:;<=>?@​[\]{}` (see [RFC7230, Section
3.2.6](https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6))
- `KeyValueMetadata` does not publicly expose its fields. This should be
transparent change to the users.
- Changed `Context` to use a stack to properly handle out of order
dropping of `ContextGuard`. This imposes a limit of `65535` nested
contexts on a single thread. See
#[2378](https://redirect.github.com/open-telemetry/opentelemetry-rust/pull/2284)
and
#[1887](https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1887).
- Added additional `name: Option<&str>` parameter to the `event_enabled`
method
on the `Logger` trait. This allows implementations (SDK, processor,
exporters)
to leverage this additional information to determine if an event is
enabled.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 8pm,before 6am" in timezone
America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone
America/Los_Angeles.
🚦 **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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxidecomputer/crucible).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 3164535 commit dd430db
2 files changed
+5
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments