Example deployment of a Flask API using Prometheus and Grafana for metrics and monitoring. All tied together using docker-compose.
pip install -r api/requirements.txt
docker-compose up
- API: http://localhost:5000/flask-prometheus-grafana-example/
- Prometheus: http://localhost:9090/
- Grafana: http://localhost:3000
[username: admin, password: pass@123]