Closed jakubgs closed 5 years ago
@gravityblast are you cool with this change?
Generally, this project might be not needed anymore or might be simplified because geth exposes metrics through expvar now.
This means that for statusgo running on servers, we probably would like to start a server like http.ListenAndServe(":8080", nil)
and import import _ "expvar"
which should give us Prometheus metrics on localhost:8080/debug/metrics/prometheus
.
@adambabik I know 1.9.0
has a Prometheus endpoint, i intend to start using it soon, I'm mostly doing this change because I want to keep using this piece of software to get syncing metrics which are not included in the metrics exposed by 1.9.0
, which is pretty darn stupid.
@adambabik better? Also added a deprecation warning in the README.md
.1
Starting from 1.9.0 Geth removed the
debug_metrics
RPC callFor more details see release noted for
1.9.0
:https://blog.ethereum.org/2019/07/10/geth-v1-9-0/#compatibility