By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
You cannot alert on everything, and an alert that fires weekly gets muted. Five signals cover almost every real AI incident. Each one is a proxy for a specific failure shape from Module 1.
| # | Signal | Failure shape it detects | Typical threshold |
|---|---|---|---|
| 1 | 5xx + timeout rate | Operational failure | > 0.5% over 5 minutes |
| 2 | p95 time to first token | Operational failure (perceived slowness) | > 2 s for 10 minutes |
| 3 | Refusal rate | Retrieval miss, or an over-tight prompt | > 2× 7-day baseline |
| 4 | Citation-present rate | Hallucination risk | < 90% |
| 5 | Sampled judge score | Quality degradation / drift | Below floor, or −0.08 vs 7-day mean |
A sudden rise in 'I do not have that information' almost always means retrieval broke: an index became unreachable, a crawler failed, or documents were re-chunked badly. It is a leading indicator that shows up before anyone complains, and it costs one counter.
The inverse matters too: a sudden drop in refusal rate often means the prompt stopped enforcing the 'answer only from context' rule. That is the hallucination alarm.
| Level | Meaning | Response | Channel |
|---|---|---|---|
| Page | Customers are affected now | Wake someone | Pager / phone |
| Ticket | Quality moved, no confirmed impact | Next working day | Issue tracker |
| Dashboard only | Informational trend | Watch it | Grafana annotation |
Most AI quality signals should be tickets, not pages. A 0.03 drop in faithfulness overnight is worth investigating but not worth waking a human. A 30% error rate is worth waking someone. Decide this per signal, in writing, before you build the alert.
A single useful composite: answer rate with citation. Share of conversations that produced a non-empty answer and cited a source. It catches failures, refusals and ungrounded answers in one number, and it is almost free to compute.
def healthy_answer(answer: str, sources: list[str]) -> bool:
return bool(answer.strip()) and bool(sources) and "do not have that information" not in answer.lower()
# cited_answer_rate = healthy / total, per hourKey takeaways
Five signals: error rate, TTFT, refusal rate, citation rate, sampled judge score.
Refusal rate is the cheapest early warning of a retrieval failure.
A dropping refusal rate can mean the anti-hallucination rule stopped working.
Decide alert level per signal before you build the alert.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.