What Metrics Track
| Metric Type | What It Measures | Example Use Case |
|---|---|---|
row_count | Total rows in a table | Detect data loss or unexpected growth |
null_percent | Percentage of null values | Catch ETL issues leaving nulls |
distinct_count | Unique values in a column | Detect cardinality changes |
duplicate_count | Duplicate values | Find unexpected duplicates |
min_value | Minimum numeric value | Catch invalid data (negative prices) |
max_value | Maximum numeric value | Detect outliers |
avg_value | Average numeric value | Monitor central tendency |
How Anomaly Detection Works
- Baseline building: Historical values establish what’s “normal”
- Z-score calculation: Each new value is compared to the baseline
- Sensitivity threshold: Values exceeding the threshold trigger alerts
Next Steps
Create a Metric
Set up your first data quality metric
Set Up Alerts
Get notified when anomalies are detected
