holoscan::TraceContext
Carry fixed-size distributed-trace identity for one logical operation.
A context owns no tracer or runtime state. It may be copied into bounded records and does not grant span creation, logging, or export authority.
Methods
valid
Return whether the context contains a trace identity.
Returns: true when trace_id is nonzero.
Static methods
root
Construct a root trace context from a trace identity.
Returns: Root context with no current or parent span identity.
Parameters
id
Trace identity supplied by the caller or admitted runtime.