-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpython_ingest_simple.yaml
More file actions
36 lines (34 loc) · 1.18 KB
/
python_ingest_simple.yaml
File metadata and controls
36 lines (34 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
metric_batch: "python_ingest_simple"
table_key: "metrics_python_ingest_simple"
alert_methods: "email,slack"
ingest_cron_schedule: "*/10 * * * *"
train_cron_schedule: "0 */3 * * *" # Run every 3 hours at minute 0
score_cron_schedule: "*/11 * * * *"
alert_cron_schedule: "*/12 * * * *"
change_cron_schedule: "*/15 * * * *"
llmalert_cron_schedule: "*/30 * * * *"
plot_cron_schedule: "*/30 * * * *"
disable_llmalert: False
# Enable threshold alerts
disable_tholdalert: False
tholdalert_methods: "email,slack"
tholdalert_recent_n: 1
tholdalert_snooze_n: 2
tholdalert_thresholds:
metric1:
upper: 12 # Alert if metric1 > 12 (will catch spikes at 15-30)
lower: 0 # Alert if metric1 < 0 (will catch drops at -10 to -1)
metric2:
upper: 12 # Alert if metric2 > 12
lower: 0 # Alert if metric2 < 0
metric3:
upper: 12 # Alert if metric3 > 12
lower: 0 # Alert if metric3 < 0
metric4:
upper: 15 # Slightly higher threshold for metric4
lower: -0.5 # Slightly more tolerant for metric4
metric5:
upper: 10 # Tighter upper bound for metric5
lower: 1 # Don't allow metric5 to go below 1
ingest_fn: >
{% include "./examples/python/python_ingest_simple/ingest.py" %}