mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
metrics: add missing GaugeInfo case in GetAll()
This commit is contained in:
parent
54a91b3ad8
commit
3a1cb0d9dd
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ func (r *StandardRegistry) GetAll() map[string]map[string]interface{} {
|
|||
values["value"] = metric.Snapshot().Value()
|
||||
case *GaugeFloat64:
|
||||
values["value"] = metric.Snapshot().Value()
|
||||
case *GaugeInfo:
|
||||
values["value"] = metric.Snapshot().Value()
|
||||
case *Healthcheck:
|
||||
values["error"] = nil
|
||||
metric.Check()
|
||||
|
|
|
|||
Loading…
Reference in a new issue