Update README.md

This commit is contained in:
Arseniy Klempner 2025-01-28 15:09:17 -08:00 committed by GitHub
parent ba593ce83f
commit 16702da504
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,15 +4,15 @@ This repository allows running a Dockerized instance of Prometheus and Grafana w
## Usage
This has been tested against `status-desktop`. To enable the Waku metrics port, you must run the application with the `waku-metrics` flag.
This has been tested against `status-desktop`. To enable the Waku metrics port, you must run the application with the `metrics` flag.
On macOS, this can be done by running the following command:
```bash
/Applications/Status.app/Contents/MacOS/nim_status_client --waku-metrics
/Applications/Status.app/Contents/MacOS/nim_status_client --metrics
```
By default, it uses port `9305`. You can set the port using `--waku-metrics-port 9305`. Make sure the same port is set in [`prometheus/prometheus.yml`](prometheus/prometheus.yml).
By default, it uses host and port `0.0.0.0:9305`. You can set the port using `--metrics-address 0.0.0.0:9305`. Make sure the same port is set in [`prometheus/prometheus.yml`](prometheus/prometheus.yml).
Once logged in, make sure that Telemetry is switched on in the advanced settings of the application.