ceremonyclient/go-libp2p/examples/metrics-and-dashboards/README.md

14 lines
405 B
Markdown
Raw Permalink Normal View History

2023-08-21 03:50:38 +00: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.