-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Closed
Labels
Description
System information
Geth version: 1.13.2-stable
CL client & version: prysm v4.0.8
OS & Version: Linux
Commit hash :
Expected behaviour
Options specified in config should enable metrics collection.
[Metrics]
Enabled = true
EnabledExpensive = trueActual behaviour
These options are ignored. Metrics server starts on 6060 port, but metrics are all zeroes, unless --metrics CLI arg is specified.
Steps to reproduce the behaviour
Add this lines to config.toml
[Metrics]
Enabled = true
EnabledExpensive = true
HTTP = "0.0.0.0"
Port = 6060Start geth with flags --pprof --pprof.port=6060 --pprof.addr=0.0.0.0
Go to /debug/metrics/prometheus endpoint and all metrics will be zeroes.
Backtrace
[backtrace]
voron and skolobov