Tapper v0.6.0 Tapper.TraceId View Source
Generate, parse or format a top-level trace id.
The TraceId comprises 128-bits encoded as a lower-case hex string.
Link to this section Summary
Functions
format a trace id for logs etc
generate a trace id
parse a trace id from a hex string, for propagation etc
format a trace id to a hex string, for propagation etc
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: binary()
t() :: binary()
Link to this section Functions
Link to this function
format(trace_id) View Source
format a trace id for logs etc.
Link to this function
generate()
View Source
generate()
View Source
generate() :: t()
generate() :: t()
generate a trace id
Link to this function
parse(arg1) View Source
parse a trace id from a hex string, for propagation etc.
Link to this function
to_hex(trace_id) View Source
format a trace id to a hex string, for propagation etc.