Monitoring: Knowing When a Pipeline Breaks
Pipelines run on their own, often overnight, without anyone watching. That is the whole point. But it creates a risk. If a pipeline quietly fails at 2 a.m., the morning dashboard could be empty, stale, or wrong, and no one would know until a manager asks why the numbers look off. Monitoring is how teams find out about problems fast, ideally before anyone else does. This lesson explains what monitoring is and the signals that matter. No code required.
What You'll Learn
- What pipeline monitoring is and why it matters
- The key signals teams watch
- The difference between a pipeline that failed and one that "ran" but is wrong
- How alerts turn signals into action
What Monitoring Is
Monitoring is keeping an eye on your pipelines so you know they are healthy and hear quickly when they are not. It is the smoke detector for your data.
A pipeline is a machine that runs unattended. Monitoring gives that machine a voice. It reports whether runs succeeded, how long they took, and whether the data looks normal. When something goes wrong, monitoring raises a flag so a person can step in.
The goal is simple. You want to find out about a problem from your monitoring, not from an angry email. Catching it first means you can fix it before it affects decisions.
The Signals That Matter
Good monitoring watches a few practical signals. You do not need to set these up. You need to know what they tell you.
- Success or failure. Did the run finish, or did it crash partway? This is the most basic signal.
- Freshness. How recently did data arrive? If the newest record is a day old, something stalled, even if no error was thrown.
- Volume. How many rows moved? If a pipeline usually loads 10,000 rows and today it loaded 12, something upstream probably broke.
- Duration. How long did the run take? A job that normally finishes in ten minutes but suddenly takes two hours is a warning sign.
- Error rate. How many records failed validation? A sudden spike means the source data changed or degraded.
Three everyday monitoring signals and what a change in each suggests
| Criteria | Freshness | Volume | Duration |
|---|---|---|---|
| What it watches | How recent the data is | How many rows moved | How long the run took |
| Warning sign | Data is older than expected | Far more or fewer rows than usual | Much slower than normal |
| Likely cause | A run stalled or was skipped | A source broke or duplicated | A bottleneck or overload |
Freshness
- What it watches
- How recent the data is
- Warning sign
- Data is older than expected
- Likely cause
- A run stalled or was skipped
Volume
- What it watches
- How many rows moved
- Warning sign
- Far more or fewer rows than usual
- Likely cause
- A source broke or duplicated
Duration
- What it watches
- How long the run took
- Warning sign
- Much slower than normal
- Likely cause
- A bottleneck or overload
Failed Is Not the Only Way to Be Wrong
Here is the trap that catches beginners. People assume that if a pipeline did not crash, everything is fine. That is not true.
A pipeline can finish with a green "success" and still be wrong. Imagine a source that returned an empty file because of a login problem. The pipeline ran happily, loaded zero rows, and reported success. Nothing crashed, but the dashboard is now empty.
This is why freshness and volume matter as much as success or failure. A run that "succeeds" but moves no data, or half the usual data, is a silent failure. Monitoring these signals catches the problems that a simple pass or fail check would miss.
Alerts: Turning Signals Into Action
A signal only helps if it reaches a person in time. That is the job of an alert. An alert is an automatic message that fires when a signal crosses a line you set.
- If a run fails, send a message to the team chat.
- If data is more than a few hours stale, send an email.
- If row volume drops below a threshold, page whoever is on call.
Good alerts are specific and rare. If every small thing triggers an alert, people start ignoring them, which is called alert fatigue. The aim is to alert on the things that truly need a human, so each alert is worth reading.
A Simple Monitoring Loop
Putting it together, monitoring is a loop that runs with every pipeline run.
- RunPipeline executes
- MeasureSuccess, freshness, volume
- CompareAgainst normal
- AlertIf something is off
- FixA person steps in
Every run produces measurements. Those measurements get compared to what normal looks like. If something falls outside the normal range, an alert fires, and a person investigates. Over time, this loop is what keeps a pipeline trustworthy without someone watching it all night.
Key Takeaways
- Monitoring keeps watch over pipelines so problems are caught fast, ideally before anyone else notices.
- The key signals are success or failure, freshness, volume, duration, and error rate.
- A pipeline can report success and still be wrong, so freshness and volume catch silent failures.
- Alerts turn signals into action, and good alerts are specific and rare to avoid alert fatigue.
- Monitoring is a loop: run, measure, compare to normal, alert, and fix.

