Build a Prometheus anomaly detector in Python: train Isolation Forest on cluster metrics, alert via Alertmanager, and deploy it on Kubernetes.
This project builds a Prometheus anomaly detector in Python.
This milestone creates the project layout, installs pinned Python dependencies, and puts every setting for the detector in one config.py file, so...
This milestone pulls 24 hours of cluster metrics from the Prometheus HTTP API and saves them as a CSV training set, one row per minute and one column...
This milestone trains an Isolation Forest on the CSV, scales the features, and saves the model and scaler together in one joblib file that the...
This milestone sends anomaly alerts to the Alertmanager v2 API, keeps them firing while the anomaly lasts, and resolves them when metrics return to...
This milestone runs the detector loop: every 60 seconds it scores the current metrics with the model, waits for 3 anomalous checks in a row, then...
This project builds a Prometheus anomaly detector in Python.
This milestone creates the project layout, installs pinned Python dependencies, and puts every setting for the detector...
This milestone pulls 24 hours of cluster metrics from the Prometheus HTTP API and saves them as a CSV training set, one...
This milestone trains an Isolation Forest on the CSV, scales the features, and saves the model and scaler together in...
This milestone sends anomaly alerts to the Alertmanager v2 API, keeps them firing while the anomaly lasts, and resolves...
This milestone runs the detector loop: every 60 seconds it scores the current metrics with the model, waits for 3...
This milestone deliberately stresses the cluster and records how long detection takes and how many false alerts you get...
This milestone packages the detector as a Docker image and runs it as a single-replica Deployment in the monitoring...
This milestone turns the working detector into a portfolio piece with a README, architecture diagram, screenshots and...
This final step proves the pipeline works end to end with exact verification commands, then gives debugging steps for...
Roles that use the skills in this module.
AI Engineer
MLOps Engineer
Platform Engineer
Site Reliability Engineer
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding Sheet