X-B3- prefixed header per item in the trace context.b3.X-B3-${name} with special-casing for flags.X-B3-TraceId header is encoded as 32 or 16 lower-hex characters.X-B3-SpanId header is encoded as 16 lower-hex characters.X-B3-ParentSpanId header may be present on a child span and must be absent on the root span.b3 standardized in late 2018 for use in JMS and w3c tracestate.b3 maps propagation fields into a hyphen delimited string.b3={TraceId}-{SpanId}-{SamplingState}-{ParentSpanId}, where the last two fields are optional.
For example, the following state encoded in multiple headers:
1
2
3
4
X-B3-TraceId: 80f198ee56343ba864fe8b2a57d3eff7
X-B3-ParentSpanId: 05e3ac9a4f6e3b90
X-B3-SpanId: e457b5a2e4d86bd1
X-B3-Sampled: 1
Becomes one b3 header, for example:
1
b3: 80f198ee56343ba864fe8b2a57d3eff7-e457b5a2e4d86bd1-1-05e3ac9a4f6e3b90