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 metricsThe 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 --buildGrafana 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.