• Stars
    star
    138
  • Rank 256,064 (Top 6 %)
  • Language
    Dockerfile
  • Created over 4 years ago
  • Updated 23 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A docker-compose with Grafana + Prometheus for monitoring Lighthouse

Lighthouse Metrics

metrics.png

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

Usage

  1. Start a lighthouse node with $ lighthouse beacon --metrics
    • The --metrics flag is required for metrics.
  2. Bring the environment up with $ docker-compose up --build.
  3. Ensure that Prometheus can access your Lighthouse node by ensuring it is in the UP state at http://localhost:9090/targets.
  4. Browse to http://localhost:3000
    • Username: admin
    • Password: changeme
  5. Import some dashboards 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.

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.

Maintenance and Contributing

The Lighthouse team has a hosted version of this stack where we do the majority of the monitoring. The dashboards in this repo are not guaranteed to be kept updated as we add/modify metrics to Lighthouse. If you're having problems, please reach out and we can update the dashboards here.

Feel free to create your own dashboards, export them and submit them here as PRs.

More Repositories

1

lighthouse

Ethereum consensus client in Rust
Rust
2,745
star
2

solidity-security-blog

Comprehensive list of known attack vectors and common anti-patterns
1,321
star
3

beacon-fuzz

Differential Fuzzer for Ethereum 2.0
Rust
154
star
4

discv5

Rust implementation of Discovery v5
Rust
142
star
5

public-audits

Collection of public security reviews
115
star
6

blockprint

Block fingerprinting for the beacon chain, for client diversity metrics
Python
85
star
7

superstruct

Rust library for versioned data types
Rust
64
star
8

eleel

Execution layer multiplexer
Rust
50
star
9

enr

Ethereum Node Record
Rust
50
star
10

siren

User interface for Lighthouse
TypeScript
44
star
11

lighthouse-docker

A docker-compose environment for running the Lighthouse Eth2 client
Shell
33
star
12

milagro_bls

BLS12-381 cryptography using Apache Milagro
Rust
26
star
13

cbc-casper-js

JS implementation of Vlad Zamfir's CBC Casper TFG
JavaScript
24
star
14

positions-vacant

Vacant Positions at Sigma Prime
23
star
15

presentations

Collection of presentations given by Sigma Prime
17
star
16

ecies-parity

JavaScript Elliptic Curve Integrated Encryption Scheme (ECIES) Library - Based off Parity's implementation
JavaScript
17
star
17

tree_hash

SSZ-compatible tree hash implementation optimised for speed and security
Rust
16
star
18

opcode-purity

A document describing purity detection in EVM opcode
15
star
19

metastruct

Abstractions for iterating and mapping over struct fields
Rust
14
star
20

milhouse

Persistent binary merkle tree
Rust
13
star
21

ethereum_hashing

Hashing primitives used in Ethereum
Rust
11
star
22

ethereum_ssz

SimpleSerialize (SSZ) implementation optimised for speed and security
Rust
10
star
23

rust-bls-remote-signer

Remote Signer API for BLS12-381
9
star
24

ethereum_serde_utils

Serialization and deserialization utilities for JSON representations of Ethereum types
Rust
8
star
25

gossipsub-testground

Testground plans for gossipsub
Rust
7
star
26

serde_array_query

Serde deserialization format for HTTP query string arrays
Rust
5
star
27

serialization_sandbox

Sandbox for testing different serialization mechanisms
Python
5
star
28

serenity-benches

Results from benchmarking Serenity state processing with Lighthouse.
3
star
29

verified-consensus

Formalisation of Ethereum consensus in Isabelle/HOL
Isabelle
3
star
30

shuffling_sandbox

A sandbox for testing shuffling functions
Python
3
star
31

eth-npg

National Portrait Gallery generates ethereum network profiles for testing
Rust
3
star
32

lighthouse-tg-bot

A Telegram bot for pushing notifications about Lighthouse validator performance
Python
3
star
33

beacon-fuzz-corpora

Corpora for the beacon-fuzz repository (Differential fuzzer for Ethereum 2.0)
3
star
34

unsafe-eth2-deposit-contract

An UNSAFE deposit contract for testing Lighthouse. DO NOT USE.
Python
3
star
35

eth2.0-resources

A collection of informal resources generated during the development of sigp/lightouse
Python
3
star
36

E2E

Ethereum 2 Ethereum - Encrypted Ethereum Messaging Dapp
JavaScript
2
star
37

sha2_fixed_64

Optimised SHA256 for 64 byte messages
Rust
2
star
38

havven-audit

Security review of the Havven contracts (not including token-sale contracts)
Python
2
star
39

ethereum-pubkey-collector

Collects Ethereum public keys from signed transactions on the chain.
JavaScript
2
star
40

audit-horizon-state-token-sale

Public audit of the Horizon State token sale smart contracts
JavaScript
1
star
41

crate_template

Rust crate template for SigP code published on crates.io
1
star
42

lighthouse-merge-f2f

Resources used during the October 2021 merge interop
Shell
1
star
43

lighthouse-kintsugi

Tracks the progress of Lighthouse on the Kintsugi interop effort
Shell
1
star
44

ssz_types

List, vector and bitfield types for SSZ
Rust
1
star
45

polkafuzz

Fuzzing Framework for Polkadot
Rust
1
star
46

lighthouse-pm

Lighthouse Project Management
1
star
47

reduced_tree_fork_choice

LMD GHOST fork choice implementation, conceptualized by Nate Rush
Rust
1
star
48

aave-public-tests

Public testing artifacts for Aave reviews
Solidity
1
star