ceremonyclient/go-libp2p/examples/metrics-and-dashboards
2023-08-20 23:07:43 -05:00
..
compose.yml Launch readiness: import utility 2023-08-20 23:07:43 -05:00
go-libp2p-node.Dockerfile Launch readiness: import utility 2023-08-20 23:07:43 -05:00
main.go Launch readiness: import utility 2023-08-20 23:07:43 -05:00
prometheus.yml Launch readiness: import utility 2023-08-20 23:07:43 -05:00
README.md Launch readiness: import utility 2023-08-20 23:07:43 -05:00

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.