How a log rate change is judged
A shape that appears eleven times at three on a Sunday morning and four hundred times at eleven on a Tuesday is behaving completely normally. Any comparison that ignores that will report a four-hundred-fold increase every Tuesday morning.
Key takeaways
- Compare an hour against the same hour of the week, across several weeks.
- Shapes seen fewer than a handful of times a week are too rare to judge on rate.
- Compare proportion of traffic as well as absolute count, because volume moves.
- A shape that always appears and has stopped is often the more urgent finding.
- One report per shape per day, however many hours it keeps being unusual.
Same hour of the week
- Database
- App integration
- Machine learning
- Security & identity
- Management
- Analytics
Rare shapes cannot be judged on rate
A shape that occurs three times one week and eleven the next has tripled, and that means nothing at all. Small counts move around by large multiples for entirely uninteresting reasons, and any rate rule applied to them produces constant noise.
So shapes below a weekly floor are exempt from rate checking entirely. They are still covered by the new-shape rule, which is the useful check for something that rare: an error that happens three times a week is interesting the first time it appears and not particularly interesting thereafter.
Proportion, not just count
The check that saves the most false reports. On a morning when overall traffic doubles — a campaign, a news mention, a batch job — every shape’s count doubles, and a pure count comparison reports forty simultaneous anomalies.
Comparing each shape’s share of total log volume as well as its absolute count separates the two: a shape whose count doubled while its share stayed constant is just busier, and one whose share also moved is genuinely behaving differently. The first gets one quiet note about traffic; the second gets reported.
Disappearance
- App integration
- Machine learning
- Security & identity
- Management
- Analytics
This is frequently the most valuable finding the system produces and it is invisible to every other kind of monitoring. A scheduled job that stops being scheduled, a consumer that stops consuming, a function that is no longer being invoked because a trigger was deleted — none of those produce an error, and all of them produce a shape that used to appear four hundred times and now appears zero times.
The rule is deliberately conservative: a shape that has appeared in the same hour slot in each of the last four weeks, with a count above the rare floor, and appears zero times this week, is reported as an absence. That is narrow enough to almost never fire spuriously and it catches the case that matters.
Once per shape per day
A shape that is genuinely running at ten times its normal rate will be outside its range for every hour of the incident, and reporting it hourly turns one finding into twelve. So each shape is reported once a day, with the subsequent hours added to the same entry as a duration rather than as new findings.
Next: what the digest says.
All posts