MetricKey
@Serializable
The identity of a single metric time series.
Metrics with the same name and kind but different attributes are distinct series — this is the standard OpenTelemetry label-set model. MetricKey is the map key inside WarpMetricExporter; use the same key on every increment/set/add to accumulate into the same series.
Parameters
name
Human-readable metric name. Must not be blank.
kind
The measurement kind: MetricKind.SUM, MetricKind.GAUGE, or MetricKind.CARDINALITY.
attributes
Key/value label set that differentiates series within the same metric name (e.g. {"path" to "/api/v1"}). Empty means no labels.