You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marten Seemann 405af03e60
examples: update go-libp2p to v0.30.0 (#2507)
1 year ago
..
README.md metrics: deduplicate code in examples (#2404) 1 year ago
compose.yml metrics: deduplicate code in examples (#2404) 1 year ago
go-libp2p-node.Dockerfile metrics: add example for metrics and dashboard (#2232) 1 year ago
main.go examples: update go-libp2p to v0.30.0 (#2507) 1 year ago
prometheus.yml metrics: deduplicate code in examples (#2404) 1 year ago

README.md

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.