TraceContext

The trace a coroutine's work belongs to: the element an Observer's observation puts in the coroutine context, opaque to the core. The runtime carries it to the coroutines it starts for the same work (traceContext) and writes its fields where the work goes on elsewhere (trace).

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract val fields: Map<String, String>

The propagation fields of the trace, such as the W3C traceparent.