[v10.2.x] Alerting: Add setting to distribute rule group evaluations over time (#81404)

* Alerting: Add setting to distribute rule group evaluations over time (#80766)

* Simple, per-base-interval jitter

* Add log just for test purposes

* Add strategy approach, allow choosing between group or rule

* Add flag to jitter rules

* Add second toggle for jittering within a group

* Wire up toggles to strategy

* Slightly improve comment ordering

* Add tests for offset generation

* Rename JitterStrategyFrom

* Improve debug log message

* Use grafana SDK labels rather than prometheus labels

* Fix API change in registry.go

* empty commit to kick build
This commit is contained in:
Alexander Weaver
2024-02-28 13:29:30 +01:00
committed by GitHub
parent 2a251f8433
commit d8f07f40ef
10 changed files with 214 additions and 1 deletions
@@ -168,6 +168,7 @@ Experimental features might be changed or removed without prior notice.
| `regressionTransformation` | Enables regression analysis transformation |
| `displayAnonymousStats` | Enables anonymous stats to be shown in the UI for Grafana |
| `newFolderPicker` | Enables the nested folder picker without having nested folders enabled |
| `jitterAlertRules` | Distributes alert rule evaluations more evenly over time, by rule group |
## Development feature toggles