Skip to main content

set_parent_from_headers

Function set_parent_from_headers 

Source
pub fn set_parent_from_headers(span: &Span, headers: &HeaderMap)
Expand description

Set span parent from W3C Trace Context headers. Extracts the trace context and sets it as the parent of the given span.