ceremonyclient/go-libp2p/examples/metrics-and-dashboards/README.md
2023-08-20 23:07:43 -05:00

405 B

Metrics and Dashboards

An example to demonstrate using Prometheus and Grafana to view go-libp2p metrics. Sets up a Prometheus server and Grafana server via Docker compose. A small go-libp2p dummy application is included to emit metrics.

Run it with:

docker compose -f ../../dashboards/docker-compose.base.yml -f ./compose.yml up

Go to http://localhost:3000/dashboards to see the dashboards.