return out
}
-func (m *httpCounterMetric) Add(_ float64) {
- panic("unsupported")
+func (m *httpCounterMetric) Add(v float64) {
+ m.WithLabelValues(metricbus.KV{}).Add(v)
}
func (m *httpCounterMetric) WithLabelValues(kv metricbus.KV) CounterMetric {
return m.values[k]
}
-func (m *httpGaugeMetric) Set(_ float64) {
- panic("unsupported")
+func (m *httpGaugeMetric) Set(v float64) {
+ m.WithLabelValues(metricbus.KV{}).Set(v)
}
func (m *httpGaugeMetric) Reset() {
- panic("unsupported")
+ m.WithLabelValues(metricbus.KV{}).Reset()
}
func (m *httpGaugeMetric) Get() []bucket {