Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun buildSpan(    name: String,     startTimestampMicros: Long,     durationMicros: Long,     traceId: ByteString = makeId(),     parentId: ByteString = ByteString.EMPTY,     addTags: TagBuilder.() -> Unit = {}): Span

Creates a span. If no trace ID is specified, a random one is generated.

Link copied to clipboard
fun makeId(seed: Int? = null): ByteString

Creates a new ID for a span or trace.

Link copied to clipboard