Module oc_propagation_http_tracecontext
Functions to support the http header format of the tracecontext spec Implements the spec found here https://www.w3.org/TR/trace-context/.
Data Types
maybe()
maybe(T) = T | undefined
Function Index
decode/1 | |
encode/1 | |
from_headers/1 | |
to_headers/1 |
Function Details
decode/1
decode(TraceContext) -> any()
encode/1
encode(Span_ctx::opencensus:span_ctx()) -> iolist()
from_headers/1
from_headers(Headers::list() | map()) -> maybe(opencensus:span_ctx())
to_headers/1
to_headers(Span_ctx::opencensus:span_ctx() | undefined) -> [{binary(), iolist()}]