Skip to content

Commit

Permalink
metrics: fix missing miner-info, build-info and node-info (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC authored Oct 8, 2023
1 parent 0d47213 commit 44b2f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 44b2f4a

Please sign in to comment.