TelemetryEvent

constructor(operation: Operation, outcome: Outcome, durationNanos: Long, reason: String? = null, correlationId: String? = null, attributes: Map<String, String> = emptyMap())

Parameters

reason

stable low-cardinality code, never a raw message — these become metric labels.

attributes

bounded, low-cardinality, and never secrets, key material or subject data.