Skip to content

silverstone1903/reco-model-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI + promethues + Grafana


This is a modified version of fastapi-prometheus-grafana project. I just added a touch of AI!


Installation

There are only two prerequisites:


git clone https://github.com/silverstone1903/reco-model-monitoring

Usage

Start

docker-compose up -d

If you make any changes you can add --build.

docker-compose up --build -d

Stopping containers

docker-compose down

Container Logs

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

Changelogs

  • 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


Screenshots

API

Grafana