Key

The key of TraceContext in a coroutine context.

Functions

Link copied to clipboard
fun parse(traceparent: String?): TraceContext?

The span of a traceparent header of W3C Trace Context, such as 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01. null when traceparent is null or not a valid header, which a server ignores, as the standard asks.