go-ethereum/metrics/prometheus
Jorge 53f3c2ae65
metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) (#24877)
This chang creates a GaugeInfo metrics type for registering informational (textual) metrics, e.g. geth version number. It also improves the testing for backend-exporters, and uses a shared subpackage in 'internal' to provide sample datasets and ordered registry. 

Implements #21783

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-08-31 13:37:17 -04:00
..
testdata metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) (#24877) 2023-08-31 13:37:17 -04:00
collector_test.go metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) (#24877) 2023-08-31 13:37:17 -04:00
collector.go metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) (#24877) 2023-08-31 13:37:17 -04:00
prometheus.go metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) (#24877) 2023-08-31 13:37:17 -04:00