#tracing #opentelemetry #log

tracing-opentelemetry-fmt

Add opentelemetry trace.id and span.id to FmtLayer of tracing-subscriber

1 unstable release

Uses new Rust 2021

0.0.1 Aug 14, 2022

#39 in #opentelemetry

Custom license

8KB
173 lines

Introduction

Implement a Layer of tracing-subscriber which combines a OpentelmetryLayer and FmtLayer. This layer adds trace.id and span.id to FmtLayer so that we can log trace.id and span.id from opentelemetry.

Dependencies

~4.5MB
~76K SLoC