Package-level declarations

Types

Link copied to clipboard

What the SDK was doing. Kept coarse: these become metric labels.

Link copied to clipboard

How it ended.

Link copied to clipboard
object Telemetry

Library-level telemetry: what the SDK did, how it ended, and how long it took.

Link copied to clipboard

Carries a host's correlation id down into library calls.

Link copied to clipboard
data class TelemetryEvent(val operation: Operation, val outcome: Outcome, val durationNanos: Long, val reason: String? = null, val correlationId: String? = null, val attributes: Map<String, String> = emptyMap())

One completed library operation.

Link copied to clipboard
fun interface TelemetrySink

Receives library events. Implementations must not throw and must not block.