com.ccadllc.cedi.dtrace.interop.xb3
Decodes a SpanId
from
XB3/Zipkin-compliant
HTTP headers (or single compressed b3
header if present).
Decodes a SpanId
from
XB3/Zipkin-compliant
HTTP headers (or single compressed b3
header if present).
The properties
argument is not currently used with this function.
Encodes X-B3-compliant
HTTP headers from the passed-in SpanId
.
Encodes X-B3-compliant
HTTP headers from the passed-in SpanId
.
Note: A single b3
compressed header will be generated combining the traceId
, spanId
and parentSpanId
when this function is called using the form:
xb3HeaderCodec.encode(spanId, Map(XB3HeaderCodec.Compressed -> "true"))
(Since version ) see corresponding Javadoc for more information.
Implements the
HeaderCodec
trait, providing for the encoding and decoding of X-B3-style tracing HTTP headers into and from aSpanId
respectively.