Monitoring and sophisticated alarms is a big topic itself (“monitoringhabit.com” ) and we need to start somewhere. The most basic alarm simply monitors that a specific metric is always 0 (for example, error rate) or more than 0 (signup rate).
Alarms themselves can brake or have wrong queries, so it’s not a silver bullet solution. I’d say it’s a good example of the 80/20 rule in action – setting up SQL alarms is definitely way less than 20% of our time dealing with monitoring, but it for sure covers 80% of possible errors.
In this lesson, let’s...