mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(monitoring): docker compose configuration for Grafana & Prometheus (#1391)
This commit is contained in:
@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user