Expand description
Span-level context helpers — component tagging, request enrichment. Span-level context helpers — component tagging, request enrichment.
Functions§
- component_
span - Returns a new
tracing::Spanwith acomponentfield set. - request_
span - Returns a new
tracing::Spanenriched with HTTP request metadata. - set_
correlation_ id - Injects a correlation ID into the current span.
- set_
trace_ id - Injects a trace ID into the current span.
- set_
user_ id - Injects a user ID into the current span.