Skip to content

Releases: tokio-rs/tracing-opentelemetry

0.32.0

30 Sep 18:05

Choose a tag to compare

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)
  • 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, and code.namespace have been renamed to
    code.file.path, and code.line.number, and code.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 in MetricsLayer (#224)
  • The attribute otel.status_message was changed to otel.status_description to align with the
    opentelemetry semantic conventions for code. (#209)
  • Remove the metrics_gauge_unstable feature.

0.31.0

08 Sep 07:42
da83e89

Choose a tag to compare

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 and OpenTelemetrySpanExt::add_event_with_timestamp
    functions to allow adding OpenTelemetry events directly to a tracing::Span, enabling the use of dynamic attribute keys
    and custom event timestamps.

0.30.0

23 Mar 17:07
v0.30.0

Choose a tag to compare

What's Changed

v0.29.0

12 Feb 15:46
@djc djc
v0.29.0

Choose a tag to compare

What's Changed

  • Fix the example installing OpenTelemetryLayer into a global subscriber by @mzabaluev in #175
  • Update dependencies by @djc in #187
  • Use renamed WASI target by @djc in #189
  • use the tracing event name as the otel event name by @zzlk in #188
  • Update opentelemetry to 0.28 by @cschramm in #193

0.28.0

13 Nov 21:19
@djc djc
v0.28.0

Choose a tag to compare

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

0.27.0

09 Oct 09:03
v0.27.0

Choose a tag to compare

Breaking Changes

  • Upgrade to opentelemetry 0.26. Refer to the upstream
    changelog
    for more information.

0.26.0

10 Sep 10:20
@djc djc
v0.26.0

Choose a tag to compare

What's Changed

0.25.0

21 Jul 15:07
@djc djc
v0.25.0

Choose a tag to compare

What's Changed

0.24.0

29 May 08:59
v0.24.0

Choose a tag to compare

Breaking Changes

  • Upgrade to opentelemetry 0.23. Refer to the upstream
    changelog
    for more information.

Added

  • Added gauge metrics (#129)

Fixed

  • Fixed compilation on WASI targets (#147)
  • Set span end time when it exists (#124)

0.23.0

05 Mar 16:33
5e3354e

Choose a tag to compare

Breaking Changes

  • Upgrade to opentelemetry 0.22. Refer to the upstream
    changelog
    for more information. In particular, i64 histograms will silently downgrade to
    key/value exports.