All articles
October 8, 20245 min read

Why One Bug Should Not Send You a Thousand Emails

By The Atflow Team

Wooden shape sorter toy with colorful blocks
Photo by Angie Dutton on Unsplash

A database connection pool runs out at 09:14. By 09:16 the same exception has fired four thousand times. Without grouping, that is four thousand rows, four thousand notifications and — with per-event pricing — a genuinely memorable invoice. With grouping it is one report that says "4,000 occurrences", which is the sentence you actually needed.

What "the same error" means

Grouping keys on the shape of the failure rather than its timestamp or payload — the same exception from the same place is one report, however often it fires. The count becomes the signal: twice a day is a backlog item, four thousand in two minutes is an incident.

It also fixes your limits

Atflow measures plan limits in unique reports rather than raw events. A high-frequency bug does not burn through the plan, which means the bad day is not also the day you get rate-limited or upsold.

How real-time reports work →

Error trackingFundamentals