Cardinality

data class Cardinality(val key: MetricKey, val estimate: Long, val timeEpochNanos: Long) : MetricPoint

A distinct-count estimate rendered as a Gauge-shaped OTLP point.

Constructors

Link copied to clipboard
constructor(key: MetricKey, estimate: Long, timeEpochNanos: Long)

Properties

Link copied to clipboard
Link copied to clipboard
open override val key: MetricKey

The series this point belongs to.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun valueHash(): Long

A stable hash of the OTLP value fields, used for by-digest dedup.