Add Prometheus config target to README
Was a gotcha for me
This commit is contained in:
parent
8f18ac7ed1
commit
9bd99d88b8
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue