elementary.freshness_anomalies test monitors the freshness of your table over time, measuring the expected time between data updates.Monitors the freshness of your table over time, as the expected time between data updates.
How it works
- Data is split into time buckets (daily by default, configurable with the
time_bucketfield). - The maximum freshness value is computed per bucket for the last
training_period(14 days by default). - The test compares the freshness of each bucket within the detection period (last 2 days by default, controlled by the
detection_periodvar) to the freshness of previous time buckets. - If any anomalies are detected during the detection period, the test will fail.
- Models
- Models example