Developers Forum for XinFin XDC Network

Discussion on: The metrics of XDC chain

Collapse
michael_artifact profile image
Michael Ellis

@gzliudan is there a flag needed that I am missing for the prom metrics? I have a node syncing and for some reason i get 404 page not found on the 6060/debug/metrics/prometheus endpoint however 6060/debug/metrics works as expected.

Collapse
gzliudan profile image
Daniel Liu Author • Edited on

The endpoint /debug/metrics/prometheus is enabled by default with flags --metrics and --metrics-addr.

Which version and network are you using? If your node is build from source code, please share the commit id. Maybe your source code does not contain this PR. I can check it for you.

How did you start your node ? Could you please share the flags in your start script ?