Expand description
tracing::Layer that captures every span into a SpanBuffer.
Trace ids are synthesized: tracing does not have native OTEL ids, so the
layer assigns a fresh 32-char lowercase-hex trace_id per root span and
propagates it to children via the span’s local extensions_mut() slot.
parent_span_id is taken from the parent TraceCtx so the buffer’s view
matches Python’s exporter byte-for-byte.
Structs§
- Span
Buffer Layer tracinglayer that captures every span into aSpanBuffer.