In everyday life
Like a smoke alarm. You do not stand in every room watching for fire; the alarm watches and wakes you. Without one, the neighbours tell you, late.
One case
At 19:00 on a Friday, a food delivery app’s payment provider starts to refuse 1 in 3 card payments. The app shows a vague error, and no alert exists. The team finds out at 21:15, 135 minutes later, from an angry post on social media.
Every case
Once code is live, it runs where nobody is watching. Every system fails somehow; the question is who notices first. Logs record what happened, so you can trace a problem afterwards. A metricA number a system counts over time, such as failed payments per minute. counts something over time, such as payments per minute. An alert watches a metric and calls a person when it crosses a line, such as “more than 5% of payments fail”. Without these, your customers are your alert system, and they report late, vaguely and in public.
The word
Engineers call this
Before you ship, decide how the system will tell you it is broken. Alert on what users feel, such as failed payments.