grafana/pkg/services/ngalert/state
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
..
historian Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2023-03-17 12:41:18 -05:00
template Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
cache_test.go Phlare: Use enum config to send deduplicated func and filenames (#64435) 2023-03-13 11:06:04 +01:00
cache.go Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
image_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
manager_bench_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager_private_test.go
manager_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager.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
persist.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
state_test.go Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
state.go
testing.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