grafana/pkg/services/ngalert/schedule
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
..
alerts_sender_mock.go Alerting: Fetch alerts from a remote Alertmanager (#75844) 2023-10-19 11:27:37 +02:00
fetcher.go Alerting: Small refactor, move unrelated functions out of fetcher (#82459) 2024-02-14 20:01:32 +02:00
jitter_test.go Alerting: Add setting to distribute rule group evaluations over time (#80766) 2024-01-18 12:48:11 -06:00
jitter.go Alerting: Enable group-level rule evaluation jittering by default, remove feature toggle (#82212) 2024-02-09 15:53:58 -06:00
loaded_metrics_reader_test.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
loaded_metrics_reader.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
metrics_test.go Alerting: Small refactor, move unrelated functions out of fetcher (#82459) 2024-02-14 20:01:32 +02:00
metrics.go Alerting: Small refactor, move unrelated functions out of fetcher (#82459) 2024-02-14 20:01:32 +02:00
registry_bench_test.go Alerting: Scheduler use rule fingerprint instead of version (#66531) 2023-04-28 10:42:16 -04:00
registry_test.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
registry.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
schedule_unit_test.go Chore: improve test readability in ngalert/schedule (#82453) 2024-02-14 14:53:32 -03:00
schedule.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