Releases: tokio-rs/tracing
tracing-opentelemetry 0.18.0
Breaking Changes
- Upgrade to
v0.18.0ofopentelemetry(#2303)
For list of breaking changes in OpenTelemetry, see the
v0.18.0 changelog.
Fixed
on_eventrespects event's explicit parent (#2296)
Thanks to @wprzytula for contributing to this release!
tracing-core 0.1.29
This release of tracing-core adds PartialEq and Eq implementations for
metadata types, and improves error messages when setting the global default
subscriber fails.
Added
PartialEqandEqimplementations forMetadata(#2229)PartialEqandEqimplementations forFieldSet(#2229)
Fixed
- Fixed unhelpful
fmt::Debugoutput fordispatcher::SetGlobalDefaultError
(#2250) - Fixed compilation with
-Z minimal-versions(#2246)
Thanks to @jswrenn and @CAD97 for contributing to this release!
tracing 0.1.36
This release adds support for owned values and fat pointers as arguments to the
Span::record method, as well as updating the minimum tracing-core version
and several documentation improvements.
Fixed
Added
- Support for owned values and fat pointers in
Span::record(#2212) - Documentation improvements (#2208, #2163)
Changed
tracing-core: updated to 0.1.29
Thanks to @fredr, @cgbur, @jyn514, @matklad, and @CAD97 for contributing to this
release!
tracing-subscriber 0.3.15
tracing-subscriber 0.3.14
This release fixes multiple filtering bugs in the Layer implementations for
Option<impl Layer> and Vec<impl Layer>.
Fixed
- layer:
Layer::event_enabledimplementation forOption<impl Layer<S>>
returningfalsewhen theOptionisNone, disabling all events globally
(#2193) - layer:
Layer::max_level_hintimplementation forOption<impl Layer<S>>
incorrectly disabling max level filtering when the option isNone(#2195) - layer:
Layer::max_level_hintimplementation forVec<impl Layer<S>>
returningLevelFilter::ERRORrather thanLevelFilter::OFFwhen theVec
is empty (#2195)
Thanks to @CAD97 and @guswynn for contributing to this release!
tracing-opentelemetry 0.17.4
This release adds optional support for recording std::error::Errors using
[OpenTelemetry's semantic conventions for exceptions][exn-semconv].
Added
Layer::with_exception_fieldsto enable emittingexception.messageand
exception.backtracesemantic-convention fields when anErroris recorded
as a span or event field (#2135)Layer::with_exception_field_propagationto enable settingexception.messageand
exception.backtracesemantic-convention fields on the current span when an
event with anErrorfield is recorded (#2135)
Thanks to @lilymara-onesignal for contributing to this release!
tracing-attributes 0.1.22
This release fixes an issue where using the err or ret arguments to
#[instrument] along with an overridden target, such as
#[instrument(target = "...", err, ret)]would not propagate the overridden target to the events generated for
errors/return values.
Fixed
- Error and return value events generated by
#[instrument(err)]or
#[instrument(ret)]not inheriting an overridden target (#2184) - Incorrect default level in documentation (#2119)
Thanks to new contributor @tbraun96 for contributing to this release!
tracing-subscriber 0.3.13
This release of tracing-subscriber fixes a compilation failure due to an
incorrect tracing-core dependency that was introduced in v0.3.12.
Changed
- tracing_core: Updated minimum dependency version to 0.1.28 (#2190)
tracing-subscriber 0.3.12
This release of tracing-subscriber adds a new Layer::event_enabled method,
which allows Layers to filter events after their field values are recorded;
a Filter implementation for reload::Layer, to make using reload with
per-layer filtering more ergonomic, and additional inherent method downcasting
APIs for the Layered type. In addition, it includes dependency updates, and
minor fixes for documentation and feature flagging.
Added
- layer:
Layer::event_enabledmethod, which can be implemented to filter
events based on their field values (#2008) - reload:
Filterimplementation forreload::Layer(#2159) - layer:
Layered::downcast_refandLayered::isinherent methods
(#2160)
Changed
- parking_lot: Updated dependency on
parking_lotto 0.13.0 (#2143) - Replaced
lazy_staticdependency withonce_cell([#2147])
Fixed
- Don't enable
tracing-corefeatures by default (#2107) - Several documentation link and typo fixes (#2064, #2068, #[2077], #2161,
#1088)
Thanks to @ben0x539, @jamesmunns, @georgemp, @james7132, @jswrenn, @CAD97, and
@guswynn for contributing to this release!
tracing-core 0.1.28
This release of tracing-core adds new Value implementations, including one
for String, to allow recording &String as a value without having to call
as_str() or similar, and for 128-bit integers (i128 and u128). In
addition, it adds new methods and trait implementations for Subscribers.
Added
Valueimplementation forString(#2164)Valueimplementation foru128andi28(#2166)downcast_refandismethods fordyn Subscriber + Sync,
dyn Subscriber + Send, anddyn Subscriber + Send + Sync(#2160)Subscriber::event_enabledmethod to enable filtering based onEventfield
values (#2008)Subscriberimplementation forBox<S: Subscriber + ?Sized>and
Arc<S: Subscriber + ?Sized>(#2161)
Thanks to @jswrenn and @CAD97 for contributing to this release!