grafana/pkg/services/ngalert/state
Alexander Weaver 99fa064576
Alerting: Emit warning when creating or updating unusually large groups (#82279)
* Add config for limit of rules per rule group

* Warn when editing big groups through normal API

* Warn on prov api writes for groups

* Wire up comp root, tests

* Also add warning to state manager warm

* Drop unnecessary conversion
2024-02-13 08:29:03 -06:00
..
historian Alerting/Annotations: Add annotation backend for Loki alert state history (#78156) 2024-01-10 18:42:35 -05:00
template Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07:00
cache_bench_test.go Alerting: Improve performance of cache.getOrCreate (#63909) 2023-06-15 09:37:47 -04:00
cache_test.go Chore: Replace go-multierror with errors package (#66432) 2023-06-19 12:29:45 +03:00
cache.go feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00
compat_test.go Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2024-01-09 14:47:19 -05:00
compat.go Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2024-01-09 14:47:19 -05:00
image_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
manager_bench_test.go feat(alerting): add state persister interface (#80384) 2024-01-17 13:33:13 +01:00
manager_private_test.go feat(alerting): add state persister interface (#80384) 2024-01-17 13:33:13 +01:00
manager_test.go Chore: Update arrow and prometheus dependencies (#82215) 2024-02-13 01:50:25 +01:00
manager.go Alerting: Emit warning when creating or updating unusually large groups (#82279) 2024-02-13 08:29:03 -06:00
persist.go feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00
persister_async_test.go Alerting: Add a feature flag to periodically save states (#80987) 2024-01-23 17:03:30 +01:00
persister_async.go Alerting: Add a feature flag to periodically save states (#80987) 2024-01-23 17:03:30 +01:00
persister_noop.go Alerting: Add a feature flag to periodically save states (#80987) 2024-01-23 17:03:30 +01:00
persister_sync_test.go feat(alerting): add state persister interface (#80384) 2024-01-17 13:33:13 +01:00
persister_sync.go Alerting: Add a feature flag to periodically save states (#80987) 2024-01-23 17:03:30 +01:00
state_test.go Alerting/Annotations: Add annotation backend for Loki alert state history (#78156) 2024-01-10 18:42:35 -05:00
state.go Alerting: Update API to use folders' full paths (#81214) 2024-02-06 17:12:13 -05:00
testing.go feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00