This is a modified version of fastapi-prometheus-grafana project. I just added a touch of AI!
There are only two prerequisites:
git clone https://github.com/silverstone1903/reco-model-monitoring
docker-compose up -d
If you make any changes you can add --build
.
docker-compose up --build -d
docker-compose down
When running containers with detached mode (-d
) they work in the background thus you can't see the flowing logs. If you want to check compose logs with cli you can use logs
.
docker-compose logs --tail 50
- FastAPI: http://localhost:8000
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3000
- Docker Image (Python to Python Slim)
requirements.txt
- scikit-learn & pandas
docker-compose.yaml
- Changed folder structure for Grafana provisioning
- Change dashboard metrics & graphs
- Added data folder and
data_create.py
- Added a touch of AI
- Created user similarity and item similarity matrices
Blog post (in Turkish): Reco Model Monitoring - FastAPI + Prometheus + Grafana