#open-telemetry #tracing #log

tracing-opentelemetry-fmt

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

1 unstable release

0.0.1 Aug 14, 2022

#50 in #opentelemetry

Custom license

9KB
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

~3.5–5MB
~86K SLoC