This repository provides a Docker Compose setup for monitoring reth. It leverages Prometheus for monitoring, Grafana for data visualization, and Alertmanager for alert management. With this setup, you can gain insights into the performance and health of your Ethereum node.
- Clone this repository:
git clone https://github.com/your-repo/reth-monitoring.git
cd reth-monitoring
-
If you want to use Alertmanager with a Discord Webhook, you can copy the
.env.example
file to set your Webhook URL and rename the file to.env
. -
Set the EL and/or CL metrics port targets in
prometheus/prometheus.yaml
-
Start the Docker containers:
docker compose up -d
- Access Grafana by opening
http://localhost:3000
in your web browser. Default credentials areadmin:admin
.
- Prometheus and Alertmanager configuration files are located in the
prometheus
andalertmanager
directories, respectively. - Grafana dashboards are automatically provisioned from the
grafana/provisioning/dashboards
directory.
It is possible to monitor any Ethereum Layer (EL) client by importing the corresponding dashboard into Grafana. To do this, follow these steps:
- Obtain the JSON file of the dashboard you want to import.
- Place this file in the
grafana/provisioning/dashboards
directory. - Restart the Grafana container to apply the changes.
The dashboard will then be automatically imported and available in Grafana.