Releases: tokio-rs/tracing-opentelemetry
Releases ยท tokio-rs/tracing-opentelemetry
0.32.0
Added
- Add configuration for including
target
in spans (#222)
Changed
- OpenTelemetry context activation (#202)
- Trace ID and span ID can be obtained from
OtelData
via dedicated functions. Note that these
will be available only if the context has already been built. (#233)
- Trace ID and span ID can be obtained from
- Correctly track entered and exited state for timings (#212)
- Slightly improve error message on version mismatch (#211)
- Remove Lazy for thread_local static (#215)
- Update description of special fields and semantic conventions
Breaking Changes
- The attributes
code.filepath
,code.lineno
, andcode.namespace
have been renamed to
code.file.path
, andcode.line.number
, andcode.module.name
, to align with the opentelemetry
semantic conventions for code. (#225) - Upgrade from opentelemetry to 0.31.0. Refer to the upstream
changelog
for more information. (#230) - Hold onto
MetricsProvider
inMetricsLayer
(#224) - The attribute
otel.status_message
was changed tootel.status_description
to align with the
opentelemetry semantic conventions for code. (#209) - Remove the
metrics_gauge_unstable
feature.
0.31.0
Breaking Changes
- Upgrade from opentelemetry 0.29.0 to 0.30.0. Refer to the upstream
changelog
for more information.
Added
- Add
OpenTelemetrySpanExt::add_event
andOpenTelemetrySpanExt::add_event_with_timestamp
functions to allow adding OpenTelemetry events directly to atracing::Span
, enabling the use of dynamic attribute keys
and custom event timestamps.
0.30.0
What's Changed
- doc: tracked inactivity default by @aimericsr in #195
- chore: update from opentelemetry-sdk 0.28.0 to 0.29.0 by @alessandrobologna in #196
- chore: prepare for release 0.30.0 by @tisonkun in #197
v0.29.0
What's Changed
0.28.0
What's Changed
- Reduce locking in the implementation of
Layer::on_close
by @mzabaluev in #173 - adding support for setting the status of the span through SpanExt by @webfinesse in #176
- Add level metadata to spans by @mTsBucy1 in #182
- chore: update opentelemetry dependencies to 0.27.0 by @MathiasPius in #184