package opentelemetry
Module Opentelemetry_core.Trace_flagsSource
W3C trace flags.
https://www.w3.org/TR/trace-context-2/#trace-flags
Only the sampled (0x01) and random-trace-id (0x02) flags are defined; other bits are reserved and "Vendors MUST set those to zero", so they are always cleared.
"When set, the least significant bit (right-most), denotes that the caller may have recorded trace data."
"When set, at least the right-most 7 bytes of the trace-id MUST be selected randomly (or pseudo-randomly)". It must be propagated unchanged for a given trace ID.