grafana/pkg/services/ngalert/remote
Santiago 309a7e7684
Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct (#85005)
* Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct

* send the hash of the encrypted configuration

* tests, default config hash in AM struct

* add missing default config to test

* restore build directory

* go work file...

* fix broken test

* remove unnecessary conversion to []byte

* go work again...

* make things work again with latest main branch changes

* update error messages in tests for decrypting config
2024-04-19 15:11:07 +02:00
..
client Alerting: Use a struct when sending a Grafana AM configuration to the remote Alertmanager (#86451) 2024-04-19 13:04:18 +02:00
mock Alerting: Persist silence state immediately on Create/Delete (#84705) 2024-04-09 13:39:34 -04:00
alertmanager_test.go Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct (#85005) 2024-04-19 15:11:07 +02:00
alertmanager.go Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct (#85005) 2024-04-19 15:11:07 +02:00
forked_alertmanager_test.go Alerting: Remove CleanUp method from the Alertmanager (#85650) 2024-04-09 12:13:27 +02:00
remote_primary_forked_alertmanager.go Alerting: Persist silence state immediately on Create/Delete (#84705) 2024-04-09 13:39:34 -04:00
remote_secondary_forked_alertmanager.go Alerting: Persist silence state immediately on Create/Delete (#84705) 2024-04-09 13:39:34 -04:00