Glossary · Data observability and quality
What is data incident?
A data incident is an event in which data that people or systems depend on becomes missing, late, incomplete or wrong, such as a failed load, a stale dashboard table or a broken join. Handling it means detecting it, assessing impact, fixing the cause and telling the affected users.
What counts as a data incident
Typical triggers:
- a source stopped sending data, so a table is stale (data freshness);
- a load succeeded with far fewer or far more rows than usual (volume anomaly);
- an upstream schema change broke or silently changed a transformation;
- a transformation bug produced wrong values, duplicates or lost rows;
- a permission, quota or resource error made a scheduled job fail.
The incident is the impact on consumers, which is why one root cause often produces many alerts across downstream tables.
The incident lifecycle
- Detect. Through monitoring, tests or, worst case, a user report. Detection time is the first half of MTTD and MTTR.
- Triage. Confirm it is real, find the first table that went wrong and list everything downstream with lineage. Set severity by impact.
- Communicate. Tell owners of affected dashboards and models, so nobody acts on bad numbers.
- Resolve. Fix the cause, then repair the data: rerun or backfill the affected partitions, or restore a table with time travel.
- Review. Record what happened and add the check, contract or alert that would have caught it earlier.
Triage on BigQuery
Job history answers the first triage questions: which jobs wrote to the table recently, which failed and with what error.
SELECT
creation_time,
job_id,
user_email,
statement_type,
error_result.reason AS error_reason,
error_result.message AS error_message,
dml_statistics.inserted_row_count AS inserted_rows
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 2 DAY)
AND destination_table.dataset_id = 'marts'
AND destination_table.table_id = 'daily_revenue'
ORDER BY creation_time DESC;
The error reasons point to known causes, such as resources exceeded during query execution; BigQuery error analysis covers the common ones. Repairs cost money too: a backfill reruns the same transformation, so scoping it to the affected partitions keeps the bill and the risk down.
Pitfalls
- Alert per table instead of per incident. Group alerts that share a root cause, or responders drown.
- Silent fixes. Repairing data without telling consumers leaves wrong decisions already made in place.
- No review. Incidents that are not reviewed come back.
- Fixing downstream only. Patching a mart hides an upstream problem that will break the next model too.
FAQ
What is the difference between a data incident and a pipeline failure?
A pipeline failure is a technical event: a job errored. A data incident is about impact: data someone relies on is wrong or missing. Many failures cause no incident because a retry fixed them, and many incidents involve no failed job at all, such as a successful load with half the rows.
How do you set data incident severity?
By impact, not by cause: which data products, dashboards, models or customers are affected, and for how long. A stale internal table and a wrong revenue figure in a board report can share a root cause and still have very different severity.
