grafana/pkg/services/ngalert/models
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
..
admin_configuration_test.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
admin_configuration.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
alert_query_test.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
alert_query.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
alert_rule_test.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
alert_rule.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
alertmanager.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
constants.go Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests (#60417) 2022-12-21 13:25:58 +01:00
errors.go Alerting: Include rule uid, title, namespace in unique constraint errors (#82011) 2024-02-07 12:55:48 -05:00
history.go NGAlerting: Use identity.Requester interface instead of SignedInUser (#76360) 2023-11-14 14:47:34 +00:00
image_test.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
image.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
instance_labels.go Alerting: Write and Delete multiple alert instances. (#55350) 2022-10-06 14:22:58 +08:00
instance_test.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
instance.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
notifications_test.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
notifications.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
provisioning.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
receivers.go Alerting: Receivers API (read only endpoints) (#81751) 2024-02-05 20:12:15 +02:00
testing.go Alerting: Support for simplified notification settings in rule API (#81011) 2024-02-15 09:45:10 -05:00
time.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00