diff --git a/metrics/registry.go b/metrics/registry.go index ec6e37c54f..5261631402 100644 --- a/metrics/registry.go +++ b/metrics/registry.go @@ -191,7 +191,7 @@ func (r *StandardRegistry) Unregister(name string) { func (r *StandardRegistry) loadOrRegister(name string, i interface{}) (interface{}, bool, bool) { switch i.(type) { - case Counter, CounterFloat64, Gauge, GaugeFloat64, Healthcheck, Histogram, Meter, Timer, ResettingTimer: + case Counter, CounterFloat64, Gauge, GaugeFloat64, Healthcheck, Histogram, Meter, Timer, ResettingTimer, Label: default: return nil, false, false }