Heartbeat Monitoring Explained
Know when an important scheduled job misses its expected check-in and learn how to respond.
Some of the work your business depends on happens quietly in the background. A daily backup, a scheduled report, or a recurring data import can stop running while your website still looks perfectly normal.
Heartbeat monitoring helps you notice when an expected check-in from a job or external process does not arrive on time.
How a heartbeat works
Your process sends a check-in to Watchtower when it reaches the point you choose. Watchtower watches for the next check-in and can warn you when it is overdue.
For example, a nightly backup can check in after it completes. If the expected check-in does not arrive, the person responsible can investigate instead of discovering the missing backup days later.
Choose a job that matters
Start with a recurring process whose failure would affect your users or your ability to recover. Backups, scheduled exports, and routine data updates are useful examples.
Choose an expected schedule that fits the job and allow enough time for normal variation. A task that sometimes takes longer needs room to finish before an alert becomes useful.
Make the check-in meaningful
Place the check-in where it reflects the outcome you want to know about. A check-in sent when a job starts tells you something different from one sent after it completes successfully.
Review the first check-in and confirm that the alert reaches someone who can investigate. Keep the check-in address private, because an unwanted check-in could make a missing job harder to notice.
When a heartbeat is overdue
Check whether the job ran, whether it completed, and whether it could send its check-in. Resolve the underlying issue and watch for the next expected result. A received check-in is useful evidence, but it is still sensible to test important outcomes, such as whether a backup can actually be restored.
Pair Heartbeat with HTTP Uptime monitoring to follow both background work and the pages your users visit.