See https://github.com/openzipkin/b3-propagation
(decode s)
Converts a "b3" header value into a span.
Returns a span to use, e.g., with zipkin-clj.core/trace-context!
or
as a parent span. The span doesn't have start time and therefore is not
supposed to be used with zipkin-clj.core/finish-span
.
Converts a "b3" header value into a span. Returns a span to use, e.g., with `zipkin-clj.core/trace-context!` or as a parent span. The span doesn't have start time and therefore is not supposed to be used with `zipkin-clj.core/finish-span`.
(encode span)
Encodes span
for propagation in a single "b3" header.
span
must be a valid span, e.g., produced by zipkin-clj.core/span
.
Returns a string to be used a "b3" header value.
Encodes `span` for propagation in a single "b3" header. `span` must be a valid span, e.g., produced by `zipkin-clj.core/span`. Returns a string to be used a "b3" header value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close