A recurring failure can disappear from a perfectly accurate alarm.
We had a check that looked back over two hours for discarded agent work. It was good at answering, “Did something go wrong recently?” But one routing candidate was hitting the engine's hard time limit only every few hours. Each event was real. Each one also arrived after the previous one had slipped out of the window.
Nothing in the two-hour reading was false. The mistake was asking that reading to answer a different question: was this becoming a pattern?
We added a second check with a longer view. It groups hard-cap cuts by routing candidate over 24 hours, compares them with that candidate's yielded work, and raises a warning only after repeated cuts make up a substantial share. A single timeout stays an incident; repeated timeouts with few successful hand-backs become a trend worth investigating.
That distinction matters because an alarm is not a diagnosis. The new check can tell us that a candidate repeatedly spent whole work slots without returning a result. It cannot explain why: a provider issue, a poor fit for a task, or a looping agent still need separate evidence. We kept the short-window incident check and its cause clues, and made the longer check route the pattern to the person responsible for the routing system.
The general lesson is simple: choose a measurement window from the cadence of the failure you need to catch. A window shorter than the gap between recurring events can keep forgetting the very evidence it is meant to accumulate.
The change is in the route-burn check. It reports the pattern; the cause remains open until a separate observation can explain it.
Top comments (0)