pub fn current_span_id() -> Option<u64>Expand description
Return the numeric id of the currently-active tracing::Span, if any.
Mirrors tracing::span::Id::into_u64. Subscribers that respect
span context (e.g. tracing-opentelemetry) attach this id to every
event automatically; surfacing it on the envelope lets consumers
reading only structured fields stitch events into the same
waterfall.