Skip to content

An ez monitoring stack for HL nodes composed of prom+grafana+consensus exporter

Notifications You must be signed in to change notification settings

validaoxyz/purrmetheus

Repository files navigation

                                ██████╗ ██╗   ██╗██████╗ ██████╗
                                ██╔══██╗██║   ██║██╔══██╗██╔══██╗                            
                                ██████╔╝██║   ██║██████╔╝██████╔╝                            
                                ██╔═══╝ ██║   ██║██╔══██╗██╔══██╗                            
                                ██║     ╚██████╔╝██║  ██║██║  ██║                            
                                ╚═╝      ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝                            
                                                             
                   ███╗   ███╗███████╗████████╗██╗  ██╗███████╗██╗   ██╗███████╗
                   ████╗ ████║██╔════╝╚══██╔══╝██║  ██║██╔════╝██║   ██║██╔════╝
                   ██╔████╔██║█████╗     ██║   ███████║█████╗  ██║   ██║███████╗
                   ██║╚██╔╝██║██╔══╝     ██║   ██╔══██║██╔══╝  ██║   ██║╚════██║
                   ██║ ╚═╝ ██║███████╗   ██║   ██║  ██║███████╗╚██████╔╝███████║
                   ╚═╝     ╚═╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚══════╝
                                          
                                 ;,_            ,
                                _uP~"b          d"u,
                               dP'   "b       ,d"  "o
                              d"    , `b     d"'    "b
                             l] [    " `l,  d"       lb
                             Ol ?     "  "b`"=uoqo,_  "l
                           ,dBb "b        "b,    `"~~TObup,_
                         ,d" (db.`"         ""     "tbc,_ `~"Yuu,_
                       .d" l`T'  '=                      ~     `""Yu,
                     ,dO` gP,                           `u,   b,_  "b7
                    d?' ,d" l,                           `"b,_ `~b  "1
                  ,8i' dl   `l                 ,ggQOV",dbgq,._"  `l  lb
                 .df' (O,    "             ,ggQY"~  , @@@@@d"bd~  `b "1
                .df'   `"           -=@QgpOY""     (b  @@@@P db    `Lp"b,
               .d(                  _               "ko "=d_,Q`  ,_  "  "b,
               Ql         .         `"qo,._          "tQo,_`""bo ;tb,    `"b,
               qQ         |L           ~"QQQgggc,_.,dObc,opooO  `"~~";.   __,7,
               qp         t\io,_           `~"TOOggQV""""        _,dg,_ =PIQHib.
               `qp        `Q["tQQQo,_                          ,pl{QOP"'   7AFR`
                 `         `tb  '""tQQQg,_             p" "b   `       .;-.`Vl'
                            "Yb      `"tQOOo,__    _,edb    ` .__   /`/'|  |b;=;.__
                                          `"tQQQOOOOP""`"\QV;qQObob"`-._`\_~~-._
                                               """"    ._        /   | |oP"\_   ~\ ~\_~\
                                                       `~"\ic,qggddOOP"|  |  ~\   `\~-._
                                                         ,qP`"""|"   | `\ `;   `\   `\
                                              _        _,p"     |    |   `\`;    |    |
                                              "boo,._dP"       `\_  `\    `\|   `\   ;
                                                `"7tY~'            `\  `\    `|_   |
                                                                     `~\  |

A monitoring solution for Hyperliquid nodes using Prometheus, Grafana and hyperliquid-exporter.

Features

  • Custom Prometheus exporter for Hyperliquid nodes
  • Pre-configured Grafana dashboards
  • Dockerized setup for ease of deployment

Prerequisites

Ensure you have Docker and Docker Compose installed:

sudo apt install -y docker docker-compose

Installation

This setup is meant to run on the same machine as your HL node since hyperliquid-exporter relies on log file scraping to generate metrics for prometheus.

1. Clone the repository

git clone https://github.com/validaoxyz/purrmetheus.git
cd purrmetheus

2. Set up environment variables:

Copy .env.sample to .env and fill in the values

cp .env.sample .env
nano .env

3. Generate required files + build and start the containers

bash generate_config.sh
cd docker
docker-compose up -d

4. Access the services:

Grafana will be available on port 3000. To access your dashboard:

  • Ensure your firewall allows port 3000
  • Visit http://<your-ip>:3000 and log in using credentials from your .env file.

Configuration

Docs

Docs (for now -- on metrics) can be found under docs/

Contributing

Contributions are greatly appreciated. Please submit a PR or open an issue on GitHub.

About

An ez monitoring stack for HL nodes composed of prom+grafana+consensus exporter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages