grafana/pkg/services/ngalert/api
Alexander Weaver a31672fa40
Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774)
* Rename RecordStatesAsync to Record

* Rename QueryStates to Query

* Implement fanout writes

* Implement primary queries

* Simplify error joining

* Add test for query path

* Add tests for writes and error propagation

* Allow fanout backend to be configured

* Touch up log messages and config validation

* Consistent documentation for all backend structs

* Parse and normalize backend names more consistently against an enum

* Touch-ups to documentation

* Improve clarity around multi-record blocking

* Keep primary and secondaries more distinct

* Rename fanout backend to multiple backend

* Simplify config keys for multi backend mode
2023-03-17 12:41:18 -05:00
..
test-data Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
tooling Alerting: update API models to user NoDataState and ExecutionErrorState from definitions instead of models (#63824) 2023-02-28 16:21:41 -05:00
api_alertmanager_guards_test.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
api_alertmanager_guards.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
api_alertmanager_test.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
api_alertmanager.go Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) (#62823) 2023-02-03 11:36:49 -05:00
api_configuration_test.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
api_configuration.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
api_prometheus_test_fixtures.go Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
api_prometheus_test.go Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) (#62823) 2023-02-03 11:36:49 -05:00
api_prometheus.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_provisioning_test.go Alerting: update API models to user NoDataState and ExecutionErrorState from definitions instead of models (#63824) 2023-02-28 16:21:41 -05:00
api_provisioning.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
api_ruler_history.go Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2023-03-17 12:41:18 -05:00
api_ruler_test.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
api_ruler_validation_test.go Alerting: Allow alert rule pausing from API (#62326) 2023-02-01 13:15:03 +01:00
api_ruler_validation.go Alerting: Allow alert rule pausing from API (#62326) 2023-02-01 13:15:03 +01:00
api_ruler.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
api_testing_test.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
api_testing.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
authorization_test.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
authorization.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
compat_test.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
compat.go Alerting: update API models to user NoDataState and ExecutionErrorState from definitions instead of models (#63824) 2023-02-28 16:21:41 -05:00
configuration.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
errors.go Alerting: Update forking request handlers to use the same errors (#52965) 2022-08-02 09:33:59 -04:00
forking_alertmanager.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
forking_prometheus.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
forking_ruler.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_alertmanager.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_configuration.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_history.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
generated_base_api_prometheus.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
generated_base_api_ruler.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_testing.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_am.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_prom.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
lotex_ruler_test.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
lotex_ruler.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
persist.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Update dskit to the latest main (#62616) 2023-01-31 19:05:49 +00:00
provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
ruler_history.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
testing_api.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
testing.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
util_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
util.go Errors: Remove direct dependencies on github.com/pkg/errors (#64026) 2023-03-02 16:28:10 +01:00