This is a demo project to show how to use Prometheus with Rust and docker-compose.
Clone the repository and run docker-compose up
to start the application. You can then access the Prometheus UI at http://localhost:9090
and the application at http://localhost:3000
.
You need to have docker, docker-compose and cargo installed. Optional is just
Open the Prometheus UI and enter http://localhost:9090
as the target. You can then use the query http_requests_total
to see the number of requests made to the application.