tokio-rs/tracing-opentelemetry (tracing-opentelemetry)
### [`v0.28.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.28.0): 0.28.0
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.27.0...v0.28.0)
#### What's Changed
- Reduce locking in the implementation of `Layer::on_close` by [@mzabaluev](https://redirect.github.com/mzabaluev) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/173](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/173)
- adding support for setting the status of the span through SpanExt by [@webfinesse](https://redirect.github.com/webfinesse) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/176](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/176)
- Add level metadata to spans by [@mTsBucy1](https://redirect.github.com/mTsBucy1) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/182](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/182)
- chore: update opentelemetry dependencies to 0.27.0 by [@MathiasPius](https://redirect.github.com/MathiasPius) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/184](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/184)
### [`v0.27.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0270-October-9-2024)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.26.0...v0.27.0)
##### Breaking Changes
- Upgrade to opentelemetry 0.26. Refer to the upstream
[changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.26.0)
for more information.
### [`v0.26.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0260-September-10-2024)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.25.0...v0.26.0)
##### Breaking Changes
- Upgrade to opentelemetry 0.25. Refer to the upstream
[changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.25.0)
for more information.
### [`v0.25.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0250-July-21-2024)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.24.0...v0.25.0)
##### Breaking Changes
- Upgrade to opentelemetry 0.24. Refer to the upstream
[changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.24.0)
for more information.
##### Fixed
- Invalidate sample decision on set parent ([#153](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/153))
- chore: fix on_close() comment ([#148](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/148))
### [`v0.24.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0240-May-24-2024)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.23.0...v0.24.0)
##### Breaking Changes
- Upgrade to opentelemetry 0.23. Refer to the upstream
[changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.23.0)
for more information.
##### Added
- Added gauge metrics ([#129](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/129))
##### Fixed
- Fixed compilation on WASI targets ([#147](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/147))
- Set span end time when it exists ([#124](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/124))
### [`v0.23.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0230-February-26-2024)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.22.0...v0.23.0)
##### Breaking Changes
- Upgrade to opentelemetry 0.22. Refer to the upstream
[changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/v0.22.0)
for more information. In particular, i64 histograms will silently downgrade to
key/value exports.
### [`v0.22.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0220-November-7-2023)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.21.0...v0.22.0)
##### Breaking Changes
- Upgrade to `v0.21.0` of `opentelemetry`
For list of breaking changes in OpenTelemetry, see the
[v0.21.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/v0.21.0/opentelemetry/CHANGELOG.md).
- Update MSRV to require Rust 1.65+, as `opentelemetry` requires it now. ([#68](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/68))
##### Fixed
- WASM Support ([#57](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/57))
- Fix potential deadlock ([#59](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/59))
Thanks to [@jesseditson](https://redirect.github.com/jesseditson), [@AsmPrgmC3](https://redirect.github.com/AsmPrgmC3), and [@rthomas](https://redirect.github.com/rthomas) for contributing to this release!
### [`v0.21.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0210-August-28-2023)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.20.0...v0.21.0)
##### Added
- Ability to produce measurement with attributes ([#43](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43))
##### Breaking Changes
- `MetricsLayer` is now generic over the its `Subscriber` impl to support
[per-layer filtering] ([#43](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43))
##### Fixed
- Trace IDs not matching when propagating invalid contexts ([#55](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/55))
Thanks to [@ymgyt](https://redirect.github.com/ymgyt) and [@hdost](https://redirect.github.com/hdost) for contributing to this release!
[per-layer filtering]: https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/layer/index.html#per-layer-filtering
### [`v0.20.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0200-August-1-2023)
[Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.19.0...v0.20.0)
##### Added
- Add `OpenTelemetrySpanExt::set_attribute` function ([#34](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/34))
##### Breaking Changes
- Upgrade to `v0.20.0` of `opentelemetry` ([#36](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/36))
For list of breaking changes in OpenTelemetry, see the
[v0.20.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/v0.20.0/opentelemetry-api/CHANGELOG.md#v0200).
Thanks to [@ymgyt](https://redirect.github.com/ymgyt), [@mladedav](https://redirect.github.com/mladedav), [@shaun-cox](https://redirect.github.com/shaun-cox), and [@Protryon](https://redirect.github.com/Protryon) for contributing to this release!
### [`v0.19.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0190-May-23-2023)
##### Breaking Changes
- Upgrade to `v0.19.0` of `opentelemetry` ([#12](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/12))
For list of breaking changes in OpenTelemetry, see the
[v0.19.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0190).
- Update MSRV to require Rust 1.60+, as `opentelemetry` requires it now ([#12](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/12))
Thanks to [@jaysonsantos](https://redirect.github.com/jaysonsantos), [@briankung](https://redirect.github.com/briankung), and [@humb1t](https://redirect.github.com/humb1t) for contributing to this release!
### [`v0.18.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0180-September-18-2022)
##### Breaking Changes
- Upgrade to `v0.18.0` of `opentelemetry` (\[[#2303](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/2303)])
For list of breaking changes in OpenTelemetry, see the
[v0.18.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0180).
##### Fixed
- `on_event` respects event's explicit parent (\[[#2296](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/2296)])
Thanks to [@wprzytula](https://redirect.github.com/wprzytula) for contributing to this release!
### [`v0.17.4`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0174-July-1-2022)
This release adds optional support for recording `std::error::Error`s using
\[OpenTelemetry's semantic conventions for exceptions]\[exn-semconv].
##### Added
- `Layer::with_exception_fields` to enable emitting `exception.message` and
`exception.backtrace` semantic-convention fields when an `Error` is recorded
as a span or event field ([#2135])
- `Layer::with_exception_field_propagation` to enable setting `exception.message` and
`exception.backtrace` semantic-convention fields on the current span when an
event with an `Error` field is recorded ([#2135])
Thanks to [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal) for contributing to this release!
[thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/exceptions/
[#2135]: https://redirect.github.com/tokio-rs/tracing/pull/2135
### [`v0.17.3`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0173-June-7-2022)
This release adds support for emitting thread names and IDs to OpenTelemetry, as
well as recording `std::error::Error` values in a structured manner with their
source chain included. Additionally, this release fixes issues related to event
and span source code locations.
##### Added
- `Layer::with_threads` to enable recording thread names/IDs according to
[OpenTelemetry semantic conventions][thread-semconv] ([#2134])
- `Error::source` chain when recording `std::error::Error` values ([#2122])
- `Layer::with_location` method (replaces `Layer::with_event_location`)
([#2124])
##### Changed
- `std::error::Error` values are now recorded using `fmt::Display` rather than
`fmt::Debug` ([#2122])
##### Fixed
- Fixed event source code locations overwriting the parent span's source
location ([#2099])
- Fixed `Layer::with_event_location` not controlling whether locations are
emitted for spans as well as events ([#2124])
##### Deprecated
- `Layer::with_event_location`: renamed to `Layer::with_location`, as it now
controls both span and event locations ([#2124])
Thanks to new contributors [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal), [@hubertbudzynski](https://redirect.github.com/hubertbudzynski), and [@DevinCarr](https://redirect.github.com/DevinCarr)
for contributing to this release!
[thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/#source-code-attributes
[#2134]: https://redirect.github.com/tokio-rs/tracing/pull/2134
[#2122]: https://redirect.github.com/tokio-rs/tracing/pull/2122
[#2124]: https://redirect.github.com/tokio-rs/tracing/pull/2124
[#2099]: https://redirect.github.com/tokio-rs/tracing/pull/2099
### [`v0.17.2`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0172-February-21-2022)
This release fixes [an issue][#1944] introduced in v0.17.1 where
`tracing-opentelemetry` could not be compiled with `default-features = false`.
##### Fixed
- Compilation failure with `tracing-log` feature disabled ([#1949])
[#1949]: https://redirect.github.com/tokio-rs/tracing/pull/1917
[#1944]: https://redirect.github.com/tokio-rs/tracing/issues/1944
### [`v0.17.1`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0171-February-11-2022-YANKED)
##### Added
- `OpenTelemetryLayer` can now add detailed location information to
forwarded events (defaults to on) ([#1911])
- `OpenTelemetryLayer::with_event_location` to control whether source locations
are recorded ([#1911])
##### Changed
- Avoid unnecessary allocations to improve performance when recording events
([#1917])
Thanks to [@djc](https://redirect.github.com/djc) for contributing to this release!
[#1917]: https://redirect.github.com/tokio-rs/tracing/pull/1917
[#1911]: https://redirect.github.com/tokio-rs/tracing/pull/1911
### [`v0.17.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0170-February-3-2022)
##### Breaking Changes
- Upgrade to `v0.17.0` of `opentelemetry` ([#1853](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/1853))
For list of breaking changes in OpenTelemetry, see the
[v0.17.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0170).
### [`v0.15.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0150-August-7-2021)
##### Breaking Changes
- Upgrade to `v0.17.1` of `opentelemetry` ([#1497](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/1497))
For list of breaking changes in OpenTelemetry, see the
[v0.17.1 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0160).
### [`v0.14.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0140-July-9-2021)
##### Breaking Changes
- Upgrade to `v0.15.0` of `opentelemetry` ([#1441])
For list of breaking changes in OpenTelemetry, see the
[v0.14.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0140).
##### Added
- Spans now include Opentelemetry `code.namespace`, `code.filepath`, and
`code.lineno` attributes ([#1411])
##### Changed
- Improve performance by pre-allocating attribute `Vec`s ([#1327])
Thanks to [@Drevoed](https://redirect.github.com/Drevoed), [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal), and [@Folyd](https://redirect.github.com/Folyd) for contributing
to this release!
[#1441]: https://redirect.github.com/tokio-rs/tracing/pull/1441
[#1411]: https://redirect.github.com/tokio-rs/tracing/pull/1411
[#1327]: https://redirect.github.com/tokio-rs/tracing/pull/1327
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.13.0
->0.28.0
Release Notes
tokio-rs/tracing-opentelemetry (tracing-opentelemetry)
### [`v0.28.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/releases/tag/v0.28.0): 0.28.0 [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.27.0...v0.28.0) #### What's Changed - Reduce locking in the implementation of `Layer::on_close` by [@mzabaluev](https://redirect.github.com/mzabaluev) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/173](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/173) - adding support for setting the status of the span through SpanExt by [@webfinesse](https://redirect.github.com/webfinesse) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/176](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/176) - Add level metadata to spans by [@mTsBucy1](https://redirect.github.com/mTsBucy1) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/182](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/182) - chore: update opentelemetry dependencies to 0.27.0 by [@MathiasPius](https://redirect.github.com/MathiasPius) in [https://github.com/tokio-rs/tracing-opentelemetry/pull/184](https://redirect.github.com/tokio-rs/tracing-opentelemetry/pull/184) ### [`v0.27.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0270-October-9-2024) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.26.0...v0.27.0) ##### Breaking Changes - Upgrade to opentelemetry 0.26. Refer to the upstream [changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.26.0) for more information. ### [`v0.26.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0260-September-10-2024) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.25.0...v0.26.0) ##### Breaking Changes - Upgrade to opentelemetry 0.25. Refer to the upstream [changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.25.0) for more information. ### [`v0.25.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0250-July-21-2024) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.24.0...v0.25.0) ##### Breaking Changes - Upgrade to opentelemetry 0.24. Refer to the upstream [changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.24.0) for more information. ##### Fixed - Invalidate sample decision on set parent ([#153](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/153)) - chore: fix on_close() comment ([#148](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/148)) ### [`v0.24.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0240-May-24-2024) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.23.0...v0.24.0) ##### Breaking Changes - Upgrade to opentelemetry 0.23. Refer to the upstream [changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/opentelemetry-0.23.0) for more information. ##### Added - Added gauge metrics ([#129](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/129)) ##### Fixed - Fixed compilation on WASI targets ([#147](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/147)) - Set span end time when it exists ([#124](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/124)) ### [`v0.23.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0230-February-26-2024) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.22.0...v0.23.0) ##### Breaking Changes - Upgrade to opentelemetry 0.22. Refer to the upstream [changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/releases/tag/v0.22.0) for more information. In particular, i64 histograms will silently downgrade to key/value exports. ### [`v0.22.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0220-November-7-2023) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.21.0...v0.22.0) ##### Breaking Changes - Upgrade to `v0.21.0` of `opentelemetry` For list of breaking changes in OpenTelemetry, see the [v0.21.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/v0.21.0/opentelemetry/CHANGELOG.md). - Update MSRV to require Rust 1.65+, as `opentelemetry` requires it now. ([#68](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/68)) ##### Fixed - WASM Support ([#57](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/57)) - Fix potential deadlock ([#59](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/59)) Thanks to [@jesseditson](https://redirect.github.com/jesseditson), [@AsmPrgmC3](https://redirect.github.com/AsmPrgmC3), and [@rthomas](https://redirect.github.com/rthomas) for contributing to this release! ### [`v0.21.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0210-August-28-2023) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.20.0...v0.21.0) ##### Added - Ability to produce measurement with attributes ([#43](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43)) ##### Breaking Changes - `MetricsLayer` is now generic over the its `Subscriber` impl to support [per-layer filtering] ([#43](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43)) ##### Fixed - Trace IDs not matching when propagating invalid contexts ([#55](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/55)) Thanks to [@ymgyt](https://redirect.github.com/ymgyt) and [@hdost](https://redirect.github.com/hdost) for contributing to this release! [per-layer filtering]: https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/layer/index.html#per-layer-filtering ### [`v0.20.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0200-August-1-2023) [Compare Source](https://redirect.github.com/tokio-rs/tracing-opentelemetry/compare/v0.19.0...v0.20.0) ##### Added - Add `OpenTelemetrySpanExt::set_attribute` function ([#34](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/34)) ##### Breaking Changes - Upgrade to `v0.20.0` of `opentelemetry` ([#36](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/36)) For list of breaking changes in OpenTelemetry, see the [v0.20.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/v0.20.0/opentelemetry-api/CHANGELOG.md#v0200). Thanks to [@ymgyt](https://redirect.github.com/ymgyt), [@mladedav](https://redirect.github.com/mladedav), [@shaun-cox](https://redirect.github.com/shaun-cox), and [@Protryon](https://redirect.github.com/Protryon) for contributing to this release! ### [`v0.19.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0190-May-23-2023) ##### Breaking Changes - Upgrade to `v0.19.0` of `opentelemetry` ([#12](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/12)) For list of breaking changes in OpenTelemetry, see the [v0.19.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0190). - Update MSRV to require Rust 1.60+, as `opentelemetry` requires it now ([#12](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/12)) Thanks to [@jaysonsantos](https://redirect.github.com/jaysonsantos), [@briankung](https://redirect.github.com/briankung), and [@humb1t](https://redirect.github.com/humb1t) for contributing to this release! ### [`v0.18.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0180-September-18-2022) ##### Breaking Changes - Upgrade to `v0.18.0` of `opentelemetry` (\[[#2303](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/2303)]) For list of breaking changes in OpenTelemetry, see the [v0.18.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0180). ##### Fixed - `on_event` respects event's explicit parent (\[[#2296](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/2296)]) Thanks to [@wprzytula](https://redirect.github.com/wprzytula) for contributing to this release! ### [`v0.17.4`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0174-July-1-2022) This release adds optional support for recording `std::error::Error`s using \[OpenTelemetry's semantic conventions for exceptions]\[exn-semconv]. ##### Added - `Layer::with_exception_fields` to enable emitting `exception.message` and `exception.backtrace` semantic-convention fields when an `Error` is recorded as a span or event field ([#2135]) - `Layer::with_exception_field_propagation` to enable setting `exception.message` and `exception.backtrace` semantic-convention fields on the current span when an event with an `Error` field is recorded ([#2135]) Thanks to [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal) for contributing to this release! [thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/exceptions/ [#2135]: https://redirect.github.com/tokio-rs/tracing/pull/2135 ### [`v0.17.3`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0173-June-7-2022) This release adds support for emitting thread names and IDs to OpenTelemetry, as well as recording `std::error::Error` values in a structured manner with their source chain included. Additionally, this release fixes issues related to event and span source code locations. ##### Added - `Layer::with_threads` to enable recording thread names/IDs according to [OpenTelemetry semantic conventions][thread-semconv] ([#2134]) - `Error::source` chain when recording `std::error::Error` values ([#2122]) - `Layer::with_location` method (replaces `Layer::with_event_location`) ([#2124]) ##### Changed - `std::error::Error` values are now recorded using `fmt::Display` rather than `fmt::Debug` ([#2122]) ##### Fixed - Fixed event source code locations overwriting the parent span's source location ([#2099]) - Fixed `Layer::with_event_location` not controlling whether locations are emitted for spans as well as events ([#2124]) ##### Deprecated - `Layer::with_event_location`: renamed to `Layer::with_location`, as it now controls both span and event locations ([#2124]) Thanks to new contributors [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal), [@hubertbudzynski](https://redirect.github.com/hubertbudzynski), and [@DevinCarr](https://redirect.github.com/DevinCarr) for contributing to this release! [thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/#source-code-attributes [#2134]: https://redirect.github.com/tokio-rs/tracing/pull/2134 [#2122]: https://redirect.github.com/tokio-rs/tracing/pull/2122 [#2124]: https://redirect.github.com/tokio-rs/tracing/pull/2124 [#2099]: https://redirect.github.com/tokio-rs/tracing/pull/2099 ### [`v0.17.2`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0172-February-21-2022) This release fixes [an issue][#1944] introduced in v0.17.1 where `tracing-opentelemetry` could not be compiled with `default-features = false`. ##### Fixed - Compilation failure with `tracing-log` feature disabled ([#1949]) [#1949]: https://redirect.github.com/tokio-rs/tracing/pull/1917 [#1944]: https://redirect.github.com/tokio-rs/tracing/issues/1944 ### [`v0.17.1`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0171-February-11-2022-YANKED) ##### Added - `OpenTelemetryLayer` can now add detailed location information to forwarded events (defaults to on) ([#1911]) - `OpenTelemetryLayer::with_event_location` to control whether source locations are recorded ([#1911]) ##### Changed - Avoid unnecessary allocations to improve performance when recording events ([#1917]) Thanks to [@djc](https://redirect.github.com/djc) for contributing to this release! [#1917]: https://redirect.github.com/tokio-rs/tracing/pull/1917 [#1911]: https://redirect.github.com/tokio-rs/tracing/pull/1911 ### [`v0.17.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0170-February-3-2022) ##### Breaking Changes - Upgrade to `v0.17.0` of `opentelemetry` ([#1853](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/1853)) For list of breaking changes in OpenTelemetry, see the [v0.17.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0170). ### [`v0.15.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0150-August-7-2021) ##### Breaking Changes - Upgrade to `v0.17.1` of `opentelemetry` ([#1497](https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/1497)) For list of breaking changes in OpenTelemetry, see the [v0.17.1 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0160). ### [`v0.14.0`](https://redirect.github.com/tokio-rs/tracing-opentelemetry/blob/HEAD/CHANGELOG.md#0140-July-9-2021) ##### Breaking Changes - Upgrade to `v0.15.0` of `opentelemetry` ([#1441]) For list of breaking changes in OpenTelemetry, see the [v0.14.0 changelog](https://redirect.github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry/CHANGELOG.md#v0140). ##### Added - Spans now include Opentelemetry `code.namespace`, `code.filepath`, and `code.lineno` attributes ([#1411]) ##### Changed - Improve performance by pre-allocating attribute `Vec`s ([#1327]) Thanks to [@Drevoed](https://redirect.github.com/Drevoed), [@lilymara-onesignal](https://redirect.github.com/lilymara-onesignal), and [@Folyd](https://redirect.github.com/Folyd) for contributing to this release! [#1441]: https://redirect.github.com/tokio-rs/tracing/pull/1441 [#1411]: https://redirect.github.com/tokio-rs/tracing/pull/1411 [#1327]: https://redirect.github.com/tokio-rs/tracing/pull/1327Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.