AI, robotics and crypto, in context Deutsch

Automation

Silent Failures: Monitoring Automations That Break Without an Error

The costliest automation failures raise no alarm. A job never starts, a file arrives empty, a run ends with zero records. How to watch for what should have happened, and alert people who can act.

Silent Failures: Monitoring Automations That Break Without an Error

Picture a nightly job that copies new customer orders from a web shop into a warehouse system. For months it runs without trouble. Then a password expires on the shop side. The job still starts on time, connects, finds nothing it is allowed to read and finishes in two seconds with a success message. No alert fires. Three days later the warehouse asks why orders have stopped.

This pattern is common. Automations are good at reporting the errors their builders imagined, such as a server that does not answer or a file that cannot be opened. They are poor at noticing that a run did nothing, did half of its work or did the right work with the wrong data. A dashboard full of green checkmarks can sit on top of a process that has quietly stopped delivering.

Good automation monitoring starts from a different question. Instead of asking whether the job reported an error, it asks whether the expected result exists. The rest of this article looks at how to answer that question in practice.

The usual ways automations fail quietly

Silent failures fall into a few recurring groups. Knowing them helps decide what to watch.

  • The job never ran: a scheduler was paused during maintenance and not restarted, or a server clock changed.
  • The job ran on nothing: an upstream file arrived empty, a filter excluded every record, or the account could only read an empty folder.
  • The job ran halfway: a timeout stopped processing after the first thousand items, and the rest were skipped without notice.
  • The job ran twice: a retry repeated work that had already succeeded, creating duplicate orders or payments.
  • The job ran correctly on wrong input: a partner changed a date format, and every record was imported with days and months swapped.

None of these necessarily produces an error. Each produces a result that looks plausible from inside the automation and wrong from outside it.

Watch the outcome, not only the process

The most reliable checks look at what the automation was supposed to produce. Three techniques cover a large share of cases.

A heartbeat check, sometimes called a dead man's switch, expects a signal at a known time. The job reports in when it finishes, and if the report does not arrive within a set window, an alert goes out. This catches jobs that never started, which no error handler inside the job can do.

Volume checks compare each run with what is normal. A job that usually processes between four hundred and nine hundred records and suddenly processes zero, or twelve thousand, deserves a look even if it reported success. The ranges can start as rough estimates from a few weeks of history and be refined later.

Reconciliation compares source and target. If the web shop shows a certain number of new orders since yesterday, the warehouse should show the same number. Counting is cheap and catches skipped, partial and duplicated runs. Where more is at stake, totals such as order value or quantity can be compared too. Some teams also run a synthetic transaction: a test order that flows through the whole chain every hour and must appear at the end.

The most dangerous automation is the one whose failure looks exactly like a quiet day.

Alerts that people act on

Detection is only half of monitoring. The other half is getting the right information to the right person. Many organizations get this part wrong in the opposite direction: they alert on everything, and staff learn to mute the channel.

A few rules keep alerting useful. Each alert should go to the owner of the automation, not to a general mailbox. It should say what was expected, what happened and where to look first. It should come with a short runbook, even if that is three lines describing the first steps. Alerts that repeat for the same cause should be grouped into one notice instead of fifty.

Severity matters as well. A failed report that someone reads weekly can wait until morning. A stopped payment run cannot. Sorting alerts into a small number of levels, with clear rules for who gets woken at night, protects both the business and the people on call. Reviewing the alert log every month and asking which alerts led to action is a simple way to prune the rest.

Logs that answer the next question

Once an alert fires, the owner needs to find out what went wrong. Logs that only note the start and end of a job do not help much. Useful logs record which items were processed, which were skipped and why, and how long each step took.

Giving every item or transaction an identifier that follows it through all systems makes later investigation far quicker. So does keeping logs long enough to compare a bad run with a good one from last month. Logs should also avoid storing passwords or full personal records, since they are often read by more people than the data itself.

From a shared list to a monitoring platform

Small teams do not need large tools to start. A shared list of every automation, with its owner, schedule, expected volume and where it reports, already reveals gaps. A simple heartbeat service and a daily count comparison can cover the most important jobs within a week.

Larger estates with hundreds of automations usually move toward a central scheduler or orchestration tool and a common monitoring platform. The principle stays the same. Every automation registers what it is expected to do, and the platform checks for missing results as well as for errors.

Finally, the monitoring needs testing too. Alerts can break when a mail server changes, a chat integration loses its access token or a check is switched off during maintenance and never switched back on. Deliberately stopping a harmless job now and then, and confirming that the right person hears about it, is the only way to know that the safety net still holds.

Questions and answers

What is a heartbeat check in automation monitoring?

It is a check that expects a signal from a job at a known time. If the signal does not arrive within the agreed window, an alert is sent. It is the main way to detect jobs that never started, which the job itself cannot report.

Which automations should be monitored first?

Start with those whose failure costs money or customers quickly, such as order transfers, payments and stock updates. Then cover automations that feed reports used for decisions. Low-impact jobs can share simple checks until there is time for more.

How can we reduce alert fatigue?

Send each alert only to the owner who can act on it, group repeated alerts and sort them into a few severity levels. Review the alert history regularly and remove or adjust alerts that never led to action. Fewer, clearer alerts get faster responses.

Is monitoring automations different from monitoring servers?

Partly. Server monitoring watches whether machines and services are up and responsive. Automation monitoring also asks whether the business result happened, for example whether all orders arrived. A perfectly healthy server can run a job that quietly does nothing.

What should a runbook for an alert contain?

It should say what the alert means, what to check first and how to restart or pause the automation safely. It should also name who to contact if the first steps fail. A few clear lines are more useful than a long document nobody opens at night.