set_span_parent_from_http_headers

Function set_span_parent_from_http_headers 

Source
pub fn set_span_parent_from_http_headers(
    span: &Span,
    headers: &HeaderMap,
) -> RResult<(), AnyErr>
Available on crate features opentelemetry-grpc or opentelemetry-http only.
Expand description

Connect this program’s span to the trace that is represented by the provided HTTP headers. E.g. connect an axum handler’s trace/span to the nginx trace/span.