chore(monitoring): docker compose configuration for Grafana & Prometheus (#1391)

This commit is contained in:
Alexey Shekhirin
2023-02-17 23:27:18 +08:00
committed by GitHub
parent 54b6a4ae94
commit 4e31c89c08
6 changed files with 70 additions and 3 deletions

View File

@ -7,4 +7,18 @@ The files in this directory may undergo a lot of changes while reth is unstable,
### Overview
- [**Prometheus**](./prometheus/prometheus.yml): An example Prometheus configuration.
- [**Grafana**](./grafana/): Example Grafana dashboards.
- [**Grafana**](./grafana/): Example Grafana dashboards & data sources.
### Docker Compose
To run Grafana dashboard with example dashboard and pre-configured Prometheus data source pointing at
the locally running Reth instance with metrics exposed on `localhost:9000`:
```sh
docker compose -p reth -f ./etc/docker-monitoring.yml up
```
After that, Grafana will be exposed on `localhost:3000` and accessible via default credentials:
```
username: admin
password: admin
```