Add Prometheus config target to README

Was a gotcha for me
This commit is contained in:
Oskar Thoren 2019-12-19 12:53:37 +08:00 committed by zah
parent 8f18ac7ed1
commit 9bd99d88b8
1 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,15 @@ make NIMFLAGS="-d:insecure" wakunode
./build/wakunode --metrics-server
```
Ensure your Prometheus config `prometheus.yml` contains the targets you care about, e.g.:
```
scrape_configs:
- job_name: "waku"
static_configs:
- targets: ['localhost:8008', 'localhost:8009', 'localhost:8010']
```
For visualisation, similar steps can be used as is written down for Nimbus
[here](https://github.com/status-im/nimbus#metric-visualisation).