Git Product home page Git Product logo

berachain-validator-monitoring's Introduction

Berachain

Berachain Validator Monitoring

All in one monitoring for Berachain. This dashboard is designed to monitor the validator node of the Berachain.

Note: This dashboard is also available on the Grafana Dashboard Community

screenshot

Getting started

  • Dedicated monitoring instance : Prometheus + Grafana + Node Exporter
  • Nodes : Berachain validator node + node exporter
  • Communication : For a secure and light connection, I recommend scraping only allowed connections. You can also use a reverse proxy if you prefer.

Prerequisite

  • Prometheus
  • Berachain validator node
  • Berachain metric exporter
  • Node exporter

Install Node exporter

apt install prometheus-node-exporter

Ensure that node-exporter is installed on your validator to pull node metrics

Prometheus Configuration

This dashboard assumes that you have a chain tag for capturing Prometheus metrics. This tag is used to switch between testnet and mainnet monitoring. Without this chain label, the dashboard will not display any data.

Please set up your prometheus.yml file as follows:

## Prometheus.yaml example for node monitoring
# Ensure these are available from the prometheus server.
# 9100 port is prometheus-node-exporter
# 26660 port is the default Bera metrics port
  - job_name: "bera-chain"
    static_configs:
      - targets: ["vn.testnet.bera.xxxx.com:9100", "vn.testnet.bera.xxxx.com:26660"]
        labels:
          group: "validator"
          chain: "testnet"
  - job_name: "bera-chain"
    static_configs:
      - targets: ["vn.mainnet.bera.xxxx.com:9100", "vn.mainnet.bera.xxxx.com:26660"]
        labels:
          group: "validator"
          chain: "mainnet"

Note: These exact Prometheus chain names (testnet or mainnet) are used in variables in the dashboard to retrieve metrics from the API.

If you choose NOT to use these chain names in your prometheus.yml file, you will need to change these names in the Variables section within the dashboard itself.

Contributing

I'd love my work to be useful for everyone, please feel free to let me know any comments or feedback!

Also if you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Related project

Who am I

Licensing

The code in this project is licensed under MIT license.

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.