grafana/pkg/services/ngalert/api
Alexander Weaver 56b3dc5445
Alerting: Allow configuration of non-ready alertmanagers (#43063)
* Create API test for overwriting invalid alertmanager config

* Avoid requiring alertmanager readiness for config changes

* AlertmanagerSrv depends on functionality rather than concrete types

* Add test for non-ready alertmanagers

* Additional cleanup and polish

* Back out previous integration test changes

* Refactor of tests incorrectly caused a test to become redundant

* Use pre-existing fake secret service

* Drop unused interface

* Test against concrete MultiOrgAlertmanager re-using fake infra from other tests

* Fix linter error

* Empty commit to rerun checks
2021-12-27 17:01:17 -06:00
..
test-data Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
tooling Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
api_admin.go Alerting: Add external Alertmanagers (#39183) 2021-11-12 22:19:16 +01:00
api_alertmanager_test.go Alerting: Allow configuration of non-ready alertmanagers (#43063) 2021-12-27 17:01:17 -06:00
api_alertmanager.go Alerting: Allow configuration of non-ready alertmanagers (#43063) 2021-12-27 17:01:17 -06:00
api_prometheus.go Alerting: fix bug where user is able to access rules from namespaces user is not part of (#41403) 2021-11-08 14:26:08 +01:00
api_ruler.go Chore: Remove context.TODO() from services (#42555) 2021-12-20 17:05:33 +01:00
api_testing.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
api.go Alerting: Allow configuration of non-ready alertmanagers (#43063) 2021-12-27 17:01:17 -06:00
fork_ruler.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
forked_admin.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
forked_am.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
forked_prom.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
forked_testing.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
generated_base_api_alertmanager.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
generated_base_api_configuration.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
generated_base_api_prometheus.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
generated_base_api_ruler.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
generated_base_api_testing.go Alerting: Refactor API handlers to use web.Bind (#42600) 2021-12-13 09:22:57 +01:00
lotex_am.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
lotex_prom.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
lotex_ruler.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
Makefile Alerting: Fix API specification (#38753) 2021-09-10 12:46:02 +03:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Alerting: check upstream response content type in lotex proxy (#34760) 2021-05-27 14:12:29 +03:00
testing.go Alerting: Allow configuration of non-ready alertmanagers (#43063) 2021-12-27 17:01:17 -06:00
util_test.go [Alerting]: implement backend checking for forking to Lotex ruler (#32208) 2021-03-23 18:08:57 +02:00
util.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00