Threshold rules: hysteresis and sustained breach #54
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend#54
Loading…
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?
A metric oscillating around its threshold flips the report between ok and warn every hour (garion
swap_pctvs>= 95: 90-100 % every night, several 1-report warn episodes).Two optional params on
metric_thresholdrules, both unset by default (unchanged behaviour):recover: back to ok only once the value crosses this second limit (e.g. warn >= 95, recover < 85);for_count: the breach must hold for N consecutive reports of the stream before the level is raised.Applied the same way in
thresholds.apply(report status / badges) and in_on_metric_threshold(events). The metric keeps its raw value and gets a pending marker while a breach isn't confirmed yet.