grafana/pkg/services/ngalert/api
Yuriy Tseretyan ed5c664e4a
Alerting: Stop firing of alert when it is updated (#39975)
* Update API to call the scheduler to remove\update an alert rule. When a rule is updated by a user, the scheduler will remove the currently firing alert instances and clean up the state cache. 
* Update evaluation loop in the scheduler to support one more channel that is used to communicate updates to it.
* Improved rule deletion from the internal registry. 
* Move alert rule version from the internal registry (structure alertRuleInfo) closer rule evaluation loop (to evaluation task structure), which will make the registry values immutable.
* Extract notification code to a separate function to reuse in update flow.
2022-01-11 11:39:34 -05: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 Alerting: Stop firing of alert when it is updated (#39975) 2022-01-11 11:39:34 -05:00
api_testing.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
api.go Alerting: Stop firing of alert when it is updated (#39975) 2022-01-11 11:39:34 -05: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