SpanContext

interface SpanContext

The immutable state that must be serialized and propagated as part of a distributed trace context.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val isRemote: Boolean

True if the SpanContext was propagated from a remote parent

Link copied to clipboard
abstract val isValid: Boolean

True if the SpanContext has a non-zero traceId and spanId

Link copied to clipboard
abstract val spanId: String

The unique span identifier

Link copied to clipboard
abstract val traceId: String

The unique trace identifier this span belongs to