Volume anomalies
How it works
Configuration
models:
- name: < model name >
tests:
- elementary.volume_anomalies:
timestamp_column: < timestamp column >
where_expression: < sql expression >
time_bucket: # Daily by default
period: < time period >
count: < number of periods >models:
- name: login_events
config:
elementary:
timestamp_column: "loaded_at"
tests:
- elementary.volume_anomalies:
where_expression: "event_type in ('event_1', 'event_2') and country_name != 'unwanted country'"
time_bucket:
period: day
count: 1
# optional - use tags to run elementary tests on a dedicated run
tags: ["elementary"]
config:
# optional - change severity
severity: warn
- name: users
# if no timestamp is configured, elementary will monitor without time filtering
tests:
- elementary.volume_anomalies:
tags: ["elementary"]Test configuration
Last updated
Was this helpful?