Opentelemetry_core.Trace_flagsW3C 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.
val none : tNo flag set
val sampled : tOnly the sampled flag
val make : sampled:bool -> random:bool -> tval of_int : int -> tKeep only the known flags
val to_int : t -> intval of_int32 : int32 -> tKeep only the known flags, e.g. from the OTLP flags field
val to_int32 : t -> int32val is_sampled : t -> bool"When set, the least significant bit (right-most), denotes that the caller may have recorded trace data."
val is_random : t -> bool"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.
val pp : Stdlib.Format.formatter -> t -> unit