View Source otel_tracestate (opentelemetry_api v1.3.0)

tracestate provides additional vendor-specific trace identification information across different distributed tracing systems. It represents an immutable list consisting of key/value pairs, each pair is referred to as a list-member.

Keys and values are strings of up to 256 printable US-ASCII characters, conforming to the W3C spec https://www.w3.org/TR/trace-context/#tracestate-field

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

add(Key, Value, Tracestate)

View Source
-spec decode_header(string() | undefined) -> t().
Link to this function

encode_header(Tracestate)

View Source
-spec encode_header(t()) -> unicode:latin1_binary().
-spec new() -> t().
-spec remove(unicode:latin1_chardata(), t()) -> t().
Link to this function

update(Key, Value, Tracestate)

View Source
-spec update(unicode:latin1_chardata(), unicode:latin1_chardata(), t()) -> t().