Decode a SpanId and sampled flag from protocol-specific Headers.
Decode a SpanId and sampled flag from protocol-specific Headers. Protocol-specific name/value properties can be passed in the given map.
Encode an Header given a SpanId.
Encode an Header given a SpanId. Protocol-specific
name/value properties can be passed in the given map to configure
behavior for that protocol. For example, the xb3
module allows
one to pass Map("Compressed", "true")
to generate a compressed
'b3' header which combines the trace ID, span ID and parent XB3
header values into one and Map("Sampling", "false")
to set the
X-B3-Sampled to "0".
Convenience methods to compose multiple HeaderCodecs when parsing and encoding
headers for multiple protocols (e.g., money
and xb3).
Decode a SpanId and sampled flag from protocol-specific Headers.
Decode a SpanId and sampled flag from protocol-specific Headers. A convenience variant of
decode(headers, properties)
when no properties
apply to the decoding.
Encode an Header given a SpanId.
Encode an Header given a SpanId. A convenience variant of
encode(spanId, properties)
when no properties
apply to the encoding.
(Since version ) see corresponding Javadoc for more information.
Describes functionality for encoding or decoding a
SpanId
to one or more headers. Protocol specific modules implement this and those implementations can be composed in order to support headers from multiple protocols in the priority order desired by the composer.