grafana/pkg/services/ngalert/state
Alexander Weaver 958fb2c50a
Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055)
* Use existing row struct instead of [2]string, add deserialization helper

* Replace Stream struct with stream struct which is exactly the same

* Drop unused status field

* Don't export queryRes and queryData

* Tests for custom marshalling

* Rename row fields to T and V for consistency with prometheus samples

* Rename row to sample
2023-02-11 05:17:44 -06:00
..
historian Alerting: Unify structs in Loki client and make them more consistent with Prometheus (#63055) 2023-02-11 05:17:44 -06:00
cache_test.go Alerting: Refactor state manager's cache (#56197) 2022-10-06 15:30:12 -04:00
cache.go Alerting: Move rule_groups_rules metric from State to Scheduler. (#63144) 2023-02-09 17:05:19 +01:00
image_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
manager_bench_test.go Parca: Use data query schema (#62840) 2023-02-07 09:56:21 +00:00
manager_private_test.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
manager_test.go Alerting: Update state manager to return StateTransitions when Delete or Reset (#62264) 2023-01-27 09:46:21 +01:00
manager.go Alerting: Update state manager to return StateTransitions when Delete or Reset (#62264) 2023-01-27 09:46:21 +01:00
persist.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
state_test.go Alerting: Better define how we set states (#59977) 2022-12-08 20:12:13 +00:00
state.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
template_functions.go Extract custom template functions (#60695) 2022-12-22 17:31:40 -03:00
template_test.go Remove explore compact URLs (#59686) 2022-12-14 12:57:53 -06:00
template.go Extract custom template functions (#60695) 2022-12-22 17:31:40 -03:00
testing.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00