TraceFlags
@forge/monorepo / backend/src / TraceFlags
Type Alias: TraceFlags
TraceFlags =
number
Defined in: backend/src/telemetry/trace-context.ts:25
The sampled bit, as W3C defines it.
A number rather than a boolean because the field is a bitfield and only bit 0 is assigned; keeping it numeric means an unrecognised flag survives a round trip instead of being flattened to false by us.