Giter Club home page Giter Club logo

erigon-netdata-plugin's Introduction

Erigon monitoring with Netdata

Erigon, formerly known as Turbo‐Geth, is a fork of Go Ethereum oriented toward speed and disk‐space efficiency. Erigon is a completely re-architected implementation of Ethereum with the goal of providing a faster, more modular, and more optimized implementation of Ethereum.

This is a work-in-progress repository of the erigon module for the netdata go.d.plugin.

netdata screenshot

Requirements

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

Charts

  • Database
    • Syncs/Write per second
  • Chain
    • Tables size (log/scs/state)
    • Chain Sync (headers/finish/execution)
  • Peer-to-Peer
    • Bandwidth per second (ingress/egress)
    • Number of peers
    • Dials/Serves calls per second
  • Reorgs
    • Total number of reorgs
  • Number of active goroutines
  • Transaction Pool
    • Pending
    • Queued
    • Current

Configuration

Edit the go.d/erigon.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/erigon.conf

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

jobs:
  - name: erigon_node_1
    url: http://203.0.113.10:6060/debug/metrics/prometheus

  - name: erigon_node_2
    url: http://203.0.113.11:6060/debug/metrics/prometheus

For all available options please see module configuration file.

Troubleshooting

To troubleshoot issues with the erigon 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.

First, navigate to your plugins directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the setting plugins directory. Once you're in the plugin's directory, switch to the netdata user.

cd /usr/libexec/netdata/plugins.d/
sudo -u netdata -s

You can now run the go.d.plugin to debug the collector:

./go.d.plugin -d -m erigon

You can run erigon with the --metrics.addr flag to access the metrics remotely during debug:

erigon --metrics.port 6060 --metrics.addr 0.0.0.0

erigon-netdata-plugin's People

Contributors

belane avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

erigon-netdata-plugin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.