Skip to main content
Metrics are statistical measurements that track properties of your data over time. AnomalyArmor captures metrics on a schedule, builds baselines, and alerts you when values fall outside expected ranges.
Metrics flow: Collect → Compare to Baseline → Detect Anomalies → Alert

What Metrics Track

Metric TypeWhat It MeasuresExample Use Case
row_countTotal rows in a tableDetect data loss or unexpected growth
null_percentPercentage of null valuesCatch ETL issues leaving nulls
distinct_countUnique values in a columnDetect cardinality changes
duplicate_countDuplicate valuesFind unexpected duplicates
min_valueMinimum numeric valueCatch invalid data (negative prices)
max_valueMaximum numeric valueDetect outliers
avg_valueAverage numeric valueMonitor central tendency

How Anomaly Detection Works

  1. Baseline building: Historical values establish what’s “normal”
  2. Z-score calculation: Each new value is compared to the baseline
  3. Sensitivity threshold: Values exceeding the threshold trigger alerts
A sensitivity of 2.0 means values more than 2 standard deviations from the mean are flagged as anomalies.

Next Steps

Create a Metric

Set up your first data quality metric

Set Up Alerts

Get notified when anomalies are detected