Skip to content

Commit 1133a08

Browse files
authored
opentelemetry: prepare to release v0.17.3 (#2154)
# 0.17.3 (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, @hubertbudzynski, and @DevinCarr for contributing to this release! [thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/#source-code-attributes [#2134]: #2134 [#2122]: #2122 [#2124]: #2124 [#2099]: #2099
1 parent 29b265d commit 1133a08

File tree

4 files changed

+45
-4
lines changed

4 files changed

+45
-4
lines changed

tracing-opentelemetry/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
# 0.17.3 (June 7, 2022)
2+
3+
This release adds support for emitting thread names and IDs to OpenTelemetry, as
4+
well as recording `std::error::Error` values in a structured manner with their
5+
source chain included. Additionally, this release fixes issues related to event
6+
and span source code locations.
7+
8+
### Added
9+
10+
- `Layer::with_threads` to enable recording thread names/IDs according to
11+
[OpenTelemetry semantic conventions][thread-semconv] ([#2134])
12+
- `Error::source` chain when recording `std::error::Error` values ([#2122])
13+
- `Layer::with_location` method (replaces `Layer::with_event_location`)
14+
([#2124])
15+
16+
### Changed
17+
18+
- `std::error::Error` values are now recorded using `fmt::Display` rather than
19+
`fmt::Debug` ([#2122])
20+
21+
### Fixed
22+
23+
- Fixed event source code locations overwriting the parent span's source
24+
location ([#2099])
25+
- Fixed `Layer::with_event_location` not controlling whether locations are
26+
emitted for spans as well as events ([#2124])
27+
28+
### Deprecated
29+
30+
- `Layer::with_event_location`: renamed to `Layer::with_location`, as it now
31+
controls both span and event locations ([#2124])
32+
33+
Thanks to new contributors @lilymara-onesignal, @hubertbudzynski, and @DevinCarr
34+
for contributing to this release!
35+
36+
[thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/#source-code-attributes
37+
[#2134]: https://github.com/tokio-rs/tracing/pull/2134
38+
[#2122]: https://github.com/tokio-rs/tracing/pull/2122
39+
[#2124]: https://github.com/tokio-rs/tracing/pull/2124
40+
[#2099]: https://github.com/tokio-rs/tracing/pull/2099
41+
142
# 0.17.2 (February 21, 2022)
243

344
This release fixes [an issue][#1944] introduced in v0.17.1 where

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.2"
3+
version = "0.17.3"
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.2
20+
[crates-url]: https://crates.io/crates/tracing-opentelemetry/0.17.3
2121
[docs-badge]: https://docs.rs/tracing-opentelemetry/badge.svg
22-
[docs-url]: https://docs.rs/tracing-opentelemetry/0.17.2/tracing_opentelemetry
22+
[docs-url]: https://docs.rs/tracing-opentelemetry/0.17.3/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.2")]
95+
#![doc(html_root_url = "https://docs.rs/tracing-opentelemetry/0.17.3")]
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)