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 emittingexception.message
and
exception.backtrace
semantic-convention fields when anError
is recorded
as a span or event field (#2135)Layer::with_exception_field_propagation
to enable settingexception.message
and
exception.backtrace
semantic-convention fields on the current span when an
event with anError
field is recorded (#2135)
Thanks to @lilymara-onesignal for contributing to this release!