Event freshness anomalies
How it works
models:
- name: < model name >
tests:
- elementary.event_freshness_anomalies:
event_timestamp_column: < timestamp column > # Mandatory
update_timestamp_column: < timestamp column > # Optional
where_expression: < sql expression >
time_bucket: # Daily by default
period: < time period >
count: < number of periods >models:
- name: login_events
tests:
- elementary.event_freshness_anomalies:
event_timestamp_column: "occurred_at"
update_timestamp_column: "updated_at"
# optional - use tags to run elementary tests on a dedicated run
tags: ["elementary"]
config:
# optional - change severity
severity: warnTest configuration
Last updated
Was this helpful?