Prompt
pipeline freshness monitoring
Latest observation
Oct 21, 2026
OpenAI APIWeb search: off
Pipeline freshness monitoring is the practice of checking whether a data pipeline is producing recent, expected, and complete outputs on time.
What it typically means
You monitor things like:
- Last successful run time
- Data arrival time in source/target tables
- Freshness lag = how old the latest data is
- Pipeline latency from source event time to availability
- Missed schedules / delayed jobs
- Row counts or volume anomalies that may indicate stale or partial data
Common freshness checks
-
Time-based
- “Has this table been updated in the last 30 minutes?”
- “Did the ETL job finish before 8 AM?”
-
Event-based
- “Are new source events arriving continuously?”
- “Is the max event timestamp within the expected window?”
-
Watermark-based
- Track the latest processed offset or timestamp.
- Alert if the watermark stops advancing.
-
Completeness-based
- Compare expected vs actual partitions/files/records.
- Detect partial loads.
Typical alert conditions
- No new data for X minutes/hours
- Job failed or has been retrying too long
- Data is older than SLA
- Late-arriving data exceeds threshold
- Output partitions not created by expected time
Useful metrics
- Freshness lag:
now() - max(updated_at) - Update frequency
- Success rate
- Execution duration
- Input/output record counts
- Backlog size in queues/streams
Example
If a dashboard depends on a table refreshed hourly, you might alert if:
max(loaded_at) < now() - 90 minutes
Tools commonly used
- Airflow / Dagster / Prefect alerts
- dbt source freshness
- Prometheus + Grafana
- Datadog, CloudWatch, Stackdriver
- Custom SQL checks in the warehouse
Good practices
- Define freshness SLAs per dataset
- Monitor at the dataset/table level, not just job level
- Use different thresholds for critical vs non-critical data
- Alert on both silence and slow drift
- Add runbooks for each alert
If you want, I can also give you:
- a SQL example for freshness monitoring,
- an Airflow/dbt implementation,
- or a monitoring design pattern for production pipelines.