Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 873 Bytes

File metadata and controls

17 lines (11 loc) · 873 Bytes

Metrics

This project uses Prometheus as a monitoring system. To enable it you must build the project with the metrics feature enabled:

cargo build --release --features metrics

The easiest way to visualize those metrics is by using some observability graphic tool like Grafana. To make it easier, you can also straight away use the contrib/docker/docker-compose.yml file to spin up an infrastructure that will run the project with Prometheus and Grafana.

To run it, first make sure you have Docker Compose installed and then:

docker compose -f contrib/docker/docker-compose.yml up -d --build

Grafana should now be available to you at http://localhost:3000. To log in, please check the credentials defined in the contrib/docker/docker-compose.yml file.