Giter Site home page Giter Site logo

lighthouse-metrics's Introduction

DISCLAIMER: this is a copied (and improved) version of the official lighthouse-metrics repo.

Lighthouse Metrics

Provides a docker-compose environment which scrapes metrics from Lighthouse nodes using Prometheus and presents them in a browser-based Grafana GUI.

Usage

This guide expects you to be running the official lighthouse docker-compose environment.

  1. Bring the environment up with docker-compose up -d.
  2. Ensure that Prometheus can access your Lighthouse nodes by ensuring they are in the UP state at http://localhost:9090/targets. Both http://beacon_node:5054/metrics and http://validator_client:5064/metrics needs to be in the UP state
  3. Browse to http://localhost:3000
    • Username: admin
    • Password: changeme
  4. Import any dashboard from the dashboards directory in this repo:
    • In the Grafana UI, go to Dashboards -> Manage -> Import -> Upload .json file.
    • The Summary.json dashboard is a good place to start.

Grafana and Prometheus will be running on the same network as the official lighthouse-docker containers and will persist any data in the two grafana and prometheus folders of this repo.

Hosting Publicly

By default Prometheus and Grafana will only bind to localhost (127.0.0.1), in order to protect you from accidentally exposing them to the public internet. If you would like to change this you must edit the http_addr in grafana.ini.

Prometheus

The scrape-targets.json file is periodically read by Prometheus and specifies the targets it should watch.

If you want to add a node to the metrics service, do it there.

lighthouse-metrics's People

Contributors

brokenseal avatar

Watchers

 avatar  avatar

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.