Skip to content

Commit 6752895

Browse files
authored
opentelemetry: prepare to release v0.17.4 (#2202)
# 0.17.4 (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 for contributing to this release! [thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/exceptions/ [#2135]: #2135
1 parent beb227b commit 6752895

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

tracing-opentelemetry/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 0.17.4 (July 1, 2022)
2+
3+
This release adds optional support for recording `std::error::Error`s using
4+
[OpenTelemetry's semantic conventions for exceptions][exn-semconv].
5+
6+
### Added
7+
8+
- `Layer::with_exception_fields` to enable emitting `exception.message` and
9+
`exception.backtrace` semantic-convention fields when an `Error` is recorded
10+
as a span or event field ([#2135])
11+
- `Layer::with_exception_field_propagation` to enable setting `exception.message` and
12+
`exception.backtrace` semantic-convention fields on the current span when an
13+
event with an `Error` field is recorded ([#2135])
14+
15+
Thanks to @lilymara-onesignal for contributing to this release!
16+
17+
[thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/exceptions/
18+
[#2135]: https://github.com/tokio-rs/tracing/pull/2135
19+
120
# 0.17.3 (June 7, 2022)
221

322
This release adds support for emitting thread names and IDs to OpenTelemetry, as

tracing-opentelemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-opentelemetry"
3-
version = "0.17.3"
3+
version = "0.17.4"
44
authors = [
55
"Julian Tescher <[email protected]>",
66
"Tokio Contributors <[email protected]>"

tracing-opentelemetry/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Utilities for adding [OpenTelemetry] interoperability to [`tracing`].
1717
[Documentation][docs-url] | [Chat][discord-url]
1818

1919
[crates-badge]: https://img.shields.io/crates/v/tracing-opentelemetry.svg
20-
[crates-url]: https://crates.io/crates/tracing-opentelemetry/0.17.3
20+
[crates-url]: https://crates.io/crates/tracing-opentelemetry/0.17.4
2121
[docs-badge]: https://docs.rs/tracing-opentelemetry/badge.svg
22-
[docs-url]: https://docs.rs/tracing-opentelemetry/0.17.3/tracing_opentelemetry
22+
[docs-url]: https://docs.rs/tracing-opentelemetry/0.17.4/tracing_opentelemetry
2323
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2424
[docs-master-url]: https://tracing-rs.netlify.com/tracing_opentelemetry
2525
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg

tracing-opentelemetry/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
//!
9393
#![deny(unreachable_pub)]
9494
#![cfg_attr(test, deny(warnings))]
95-
#![doc(html_root_url = "https://docs.rs/tracing-opentelemetry/0.17.3")]
95+
#![doc(html_root_url = "https://docs.rs/tracing-opentelemetry/0.17.4")]
9696
#![doc(
9797
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
9898
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)