Module metrics

Module metrics 

Source
Expand description

Minimal metrics registry for the gateway.

No external dependencies are used; this module provides counter/gauge/histogram types with dynamic labels backed by DashMap. Labels are flattened into sorted key vectors to keep deterministic ordering. Histogram buckets are fixed in microseconds to avoid floating point math.

Structsยง

CounterVec
GatewayMetrics
GaugeVec
HistogramVec