Package multi provides adapters that send observations to multiple metrics simultaneously. This is useful if your service needs to emit to multiple instrumentation systems at the same time, for example if your organization is transitioning from one system to another.
Counter collects multiple individual counters and treats them as a unit.
NewCounter returns a multi-counter, wrapping the passed counters.
Add implements counter.
With implements counter.
Gauge collects multiple individual gauges and treats them as a unit.
NewGauge returns a multi-gauge, wrapping the passed gauges.
Add implements metrics.Gauge.
Set implements Gauge.
With implements gauge.
Histogram collects multiple individual histograms and treats them as a unit.
NewHistogram returns a multi-histogram, wrapping the passed histograms.
Observe implements Histogram.
With implements histogram.