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
geth with the flag
--metrics. That will enable the metric server, with default port
All metrics have "geth." prefix.
|chainhead||global||block, receipt, header||block|
|tx_pool_pending||global||invalid, pending, local, discard, no_funds, ratelimit, replace||transactions|
|tx_pool_current||global||invalid, pending, local, pool||transactions|
|tx_pool_queued||global||discard, eviction, no_funds, ratelimit||transactions|
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
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.
go.d/geth.conf configuration file using
edit-config from the
Netdata config directory, which is typically at
cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/geth.conf
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.ddirectory, usually at
/usr/libexec/netdata/plugins.d/. If that's not the case on your system, open
netdata.confand look for the
Switch to the
sudo -u netdata -s
go.d.pluginto debug the collector:
./go.d.plugin -d -m geth