MetricKey

constructor(name: String, kind: MetricKind, attributes: Map<String, String> = emptyMap())

Parameters

name

Human-readable metric name. Must not be blank.

attributes

Key/value label set that differentiates series within the same metric name (e.g. {"path" to "/api/v1"}). Empty means no labels.