Skip to content

Docker Compose file with configuration for collecting Prometheus metrics from Status and displaying in Grafana

Notifications You must be signed in to change notification settings

waku-org/status-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Status Metrics

This repository allows running a Dockerized instance of Prometheus and Grafana with a dashboard for collecting Waku metrics from a running instance of status-go.

Usage

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:

/Applications/Status.app/Contents/MacOS/nim_status_client --metrics

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.

Once logged in, make sure that Telemetry is switched on in the advanced settings of the application.

Start the local prometheus instance and grafana dashboard by running:

docker-compose up -d

You can now access Grafana at http://localhost:3000. Login with the default username admin and password admin.

An existing dashboard is available at http://localhost:3000/d/status-go-metrics/status-go-metrics?orgId=1&from=now-5m&to=now&refresh=5s. Any changes to the dashboard can be saved by copying the dashboard JSON and overwriting the file in grafana/provisioning/dashboards/status-go.json.

About

Docker Compose file with configuration for collecting Prometheus metrics from Status and displaying in Grafana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published