← Projects

Alert triage with a small local model

A fine-tuned 4B model and guard rails that classify Prometheus alerts and propose patches as pull requests.

A 4B model (Qwen3-4B-Instruct-2507, QLoRA) reads an alerting rule and its firing statistics and says whether the alert is flapping, noisy, dead or healthy, with a minimal patch. Scripts decide the facts: an evidence gate, a deterministic dead-alert check, three agreeing samples and a replay over history. A human reviews the pull request.

On an independent simulator it classifies 96.7% correctly and leaves 93.3% of healthy alerts alone; the untouched base model manages 47.9% and 0%. On my own cluster it gets 16 of 21 right, against 10 for a large API model and 1 for the base model. One cluster, so a direction, not a proof. Code, model and data are open; feedback on the method is welcome.

Write-up: A small local model for Prometheus alert triage.

Prometheus · LLM · QLoRA · Evaluation