MetricPoint
A single metric data point, rendered from a WarpMetricExporter CRDT (via MetricCatalog) into the shape OTLP puts on the wire. The bridge produces these; an OtlpEdge serializes them — the edge never reaches into the CRDTs directly.
valueHash is over the OTLP value fields only (not the observation time), so a re-render of an unchanged series produces the same hash and is skipped by MetricDigest — while a value that advanced re-sends exactly once.
The five variants mirror the five kinds a MetricCatalog holds: a long cumulative sum (Sum), a double-precision cumulative sum (DoubleSum), a last-writer-wins gauge (Gauge), a distinct-count estimate (Cardinality), and a quantile sketch (ExponentialHistogram).
Inheritors
Types
A distinct-count estimate rendered as a Gauge-shaped OTLP point.
A quantile sketch rendered as an OTLP ExponentialHistogramDataPoint (cumulative temporality — the backing us.tractat.kuilt.crdt.DDSketch is grow-only).