grafana/pkg/services/ngalert/provisioning
Yuri Tseretyan 494f36e0bd
Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814)
* extract get and save operations to a alertmanagerConfigStore. this removes duplicated code in service (currently only mute timings) and improves testing
* replace generic errors with errutils one with better messages.
* update provisioning services to use new store

---------

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2024-01-05 16:15:18 -05:00
..
alert_rules_test.go Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
alert_rules.go Alerting: Add provenance field to /api/v1/provisioning/alert-rules (#76252) 2023-10-11 14:51:20 +01:00
compat.go Add compat function for notify.GrafanaIntegrationConfig to EmbeddedContactPoint (#75995) 2023-10-05 23:13:34 +03:00
config_test.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
config.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
contactpoints_test.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
contactpoints.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
errors.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
mute_timings_test.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
mute_timings.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
notification_policies_test.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
notification_policies.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
persist_mock.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
persist.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
provenance.go Alerting: Allow provenance disable in alerting provisioning API (#63650) 2023-04-18 15:10:36 +02:00
provisioning_store_mock.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
quota_checker_mock.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
templates_test.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
templates.go Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814) 2024-01-05 16:15:18 -05:00
testing.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00