Skip to main content

parse_sw8

Function parse_sw8 

Source
pub fn parse_sw8(value: &str) -> Option<(String, String, bool)>
Expand description

Parses a SkyWalking sw8 header (hyphen-separated, base64 fields) into (trace_id, parent_segment_span_id, sampled). Field 0 is the sample flag, field 1 the base64 trace id, field 3 the parent span id.