Tune watchdog max_duration_ratio after observing real drift data #69
Labels
No labels
bug
documentation
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gertjan/bodega#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #68 (duration-drift detection).
The
max_duration_ratiothreshold is currently a guess of2.5forscores_refreshandcorrelation_refreshinconfig/settings.yaml. It is untuned.Action: after the drift check has run for a few weeks, inspect
task_runs.duration_secondshistory for these tasks and adjust:daily_refresh,anomaly_detection) once the threshold is trusted.Reference:
get_duration_drift()insrc/database/repositories/task_runs.py, check insrc/scheduler/tasks/watchdog.py.