performance alerts: Debounce consecutive alerts
Main changes
-
Make ministat script smart enough to ignore alerting when nothing changed since the last day (such as weekends).
-
Added
changes_since
andminimum_changes
parameters to help to define when the data should be fresh to trigger alerts. -
There is a debouncer which will use the
before
andafter
datasets, slice them into n parts, to simulate what would be the results from the past and only alert when there is enough (not more, not less) redundant data from the recent past.
Results
This snippet gallo/mesa-performance-tracking$7129 contains comparison against the baseline information about how many alerts are produced depending on the debouncer parameters.