Uniswap / unichain-node

Everything required to run your own Unichain node
135 stars 57 forks source link

geth metrics ? #14

Open svax974 opened 3 weeks ago

svax974 commented 3 weeks ago

Hello,

I tried to activate metrics from the geth client by adding a 6060:6060 port redirection in docker-compose.yml and by changing the command line in op-geth-entrypoint.sh to : exec geth --metrics --metrics.addr 0.0.0.0 --pprof --pprof.addr 0.0.0.0 $@

The geth client runs with those parameters in the docker container. But any call to http://localhost:6060 returns a "404 page not found" page. I tried adding /debug/metrics, /debug/metrics/prometheus, /metrics, always 404.

Are the metrics indeed exposed ? Is there a specific url to use ?

Thanks, regards