Skip to main content

Geth collector

Go Ethereum, written in Google’s Go language, is one of the three original implementations of the Ethereum protocol, alongside C++ and Python.

Go-Ethereum, and subsequently Geth, are built and maintained by the Ethereum community. It’s open source which means anyone can contribute to Geth through its GitHub.

With Netdata, you can effortlessly monitor your Geth node


Run geth with the flag --metrics. That will enable the metric server, with default port 6060 and path /debug/metrics/prometheus.


All metrics have "geth." prefix.

eth_db_chaindata_ancient_io_rateglobalreads, writesbytes/s
eth_db_chaindata_ancient_ioglobalreads, writesbytes
eth_db_chaindata_disk_ioglobalreads, writesbytes
eth_db_chaindata_disk_io_rateglobalreads, writesbytes/s
chaindata_db_sizegloballevel_db, ancient_dbbytes
chainheadglobalblock, receipt, headerblock
tx_pool_pendingglobalinvalid, pending, local, discard, no_funds, ratelimit, replacetransactions
tx_pool_currentglobalinvalid, pending, local, pooltransactions
tx_pool_queuedglobaldiscard, eviction, no_funds, ratelimittransactions
p2p_bandwidthglobalingress, egressbytes/s
reorgs_blocksglobaladded, droppedblocks
p2p_peers_callsglobaldials, servescalls/s
rpc_callsglobalfailed, successfulcalls/s


We have started a topic on our community forums about this collector.

The best contribution you can make is to tell us what metrics you want to see and how they should be organized (e.g. what charts to make).

As you can read in the topic, it's trivial to add more metrics from the prometheus endpoint and create the relevant charts. The hard part is the domain expertise that we don't have, but you, as a user, have.

The second-best contribution you can make is to tell us what alerts we should be shipping as defaults for this collector. For example, we are shipping an alert about the node being in sync (or not). We simply compare the chainhead block and header values.

If you are proficient in Golang, visit the topic and make a PR yourself to the collector. We will happily help you to merge it and have your code being shipped with every Netdata agent.


Edit the go.d/geth.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/geth.conf

Needs only url to geth metrics endpoint. Here is an example for 2 instances:

- name: geth_node_1

- name: geth_node_2

For all available options please see module configuration file.


To troubleshoot issues with the geth collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

  • Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the plugins setting under [directories].

    cd /usr/libexec/netdata/plugins.d/
  • Switch to the netdata user.

    sudo -u netdata -s
  • Run the go.d.plugin to debug the collector:

    ./go.d.plugin -d -m geth

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.