Your Monitoring Is Telling You Everything Except What Matters

Define the expected batch output and check it where the downstream team will use it.

Share
An operator points at an empty destination folder and a red clock while the servers on the screen show green lights.

The hosts are up. The pods are healthy. The dashboards are mostly green. A file that somebody needed an hour ago still has not arrived.

That is an uncomfortable result when the monitoring system seems to know everything about the machinery except whether it produced the expected work.

Availability is only part of the story

A process can remain alive while making no progress. A job can finish successfully after processing an empty input. A request can return quickly with a result nobody can use.

CPU and memory are useful evidence when investigating those conditions. They do not describe the condition by themselves.

For a batch workflow, I want to know what was expected, when it was due, and whether the result is complete enough for the next step.

Put the deadline in the signal

Suppose a daily feed normally lands before downstream processing starts. A generic failure alert may help when the transfer crashes. It may do nothing when the transfer never starts or delivers yesterday's file again.

The useful check follows the contract: an appropriately fresh output, for the correct period, before the consumer needs it. That requires someone to define the contract.

Monitoring becomes more useful when engineers talk to the people waiting for the result instead of starting with whatever metrics are easiest to export.

Write the check from the receiving side. In a hypothetical billing export, the 08:30 check asks whether the reconciliation job can read the file for the expected business date, whether the export was marked complete, and whether its required fields are present. An object created at 08:25 can still contain Friday's records. Agree on the business calendar and time zone with the consumer so a holiday or a delayed close has an explicit expectation.

A small test case is worth running before you page anyone. Leave the producer healthy and withhold the file. Then publish an old file under a fresh timestamp. Verify that the consumer-facing check fails both times and clears when the correct output becomes readable. If a valid zero-row export is possible, test that too. The Google SRE Workbook's pipeline chapter treats freshness and correctness as separate measurements.

Give the alert a decision to support

When the check fails, the operator should know what is missing, who is affected, and what can safely happen next. Otherwise the alert just starts another investigation with less context than the producer already had.

I still want infrastructure metrics. I want them connected to the service outcome so they can help explain a failure rather than stand in for evidence of success.

For that billing export, the page could say which period is missing, when reconciliation starts, and whether the operator should pause the importer or contact the upstream owner. Put the query that checks the destination in the runbook. A green producer log can then help locate the problem after the operator has confirmed what the consumer can see.

A healthy server is good news. It is not proof that the work got done.