metrics: fix missing miner-info, build-info and node-info (#1907)
This commit is contained in:
parent
0d47213199
commit
44b2f4a787
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user