Function bitbazaar::log::set_span_parent_from_http_headers
source · pub fn set_span_parent_from_http_headers(
span: &Span,
headers: &HeaderMap
) -> Result<(), 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.