grafana/pkg/services/ngalert/state
Yuri Tseretyan 1eebd2a4de
Alerting: Support for simplified notification settings in rule API (#81011)
* Add notification settings to storage\domain and API models. Settings are a slice to workaround XORM mapping
* Support validation of notification settings when rules are updated

* Implement route generator for Alertmanager configuration. That fetches all notification settings.
* Update multi-tenant Alertmanager to run the generator before applying the configuration.

* Add notification settings labels to state calculation
* update the Multi-tenant Alertmanager to provide validation for notification settings

* update GET API so only admins can see auto-gen
2024-02-15 09:45:10 -05: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 Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
cache.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05: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 Alerting: Fix data races and improve testing (#81994) 2024-02-14 12:45:39 -03: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: Fix data races and improve testing (#81994) 2024-02-14 12:45:39 -03: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 Alerting: Fix data races and improve testing (#81994) 2024-02-14 12:45:39 -03: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: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
state.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
testing.go Alerting: Fix data races and improve testing (#81994) 2024-02-14 12:45:39 -03:00