MetricKey
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. Two keys that differ only in the order their attributes were written are equal, so they encode alike too, or sorting a map of these keys could not make that map canonical.