Part 08 / Topic 5 of 7
Run reports and alerts
The silent failure mode of pipelines is not crashing — it is succeeding with zero rows for a week. Exit code 0, data quietly stale. The defence is a run report written every run:
{"run": "2025-04-09T02:00Z", "extracted": 412, "quarantined": 3, "loaded": 409,
"watermark": "2025-04-08T23:59Z", "duration_s": 41}
…and alerts on the data, not just the process: row count outside the expected range, watermark older than a day, quarantine rate above a threshold. Freshness and volume are the two numbers that catch what exit codes cannot.
🧪 Quick quiz
- A nightly pipeline silently loads zero rows for a week. What would have caught it?
Show the answer
A run report with row counts and an alert when counts fall outside the expected range. Monitor data volumes and freshness, not just whether the job exited with 0.
Done here? The practice set for Part 8 — 4 exercises with solutions — is on the part page.