Alexander Weaver
393faa8732
Alerting: Move rule evaluation status logic out of prometheus API and into scheduler ( #89141 )
...
* Add health fields to rules and an aggregator method to the scheduler
* Move health, last error, and last eval time in together to minimize state processing
* Wire up a readonly scheduler to prom api
* Extract to exported function
* Use health in api_prometheus and fix up tests
* Rename health struct to status
* Fix tests one more time
* Several new tests
* Handle inactive rules
* Push state mapping into state manager
* rename to StatusReader
* Rectify cyclo complexity rebase
* Convert existing package local status implementation to models one
* fix tests
* undo RuleDefs rename
2024-09-30 16:52:49 -05:00
..
2023-09-11 11:48:23 -04:00
2024-08-22 09:04:21 -04:00
2024-09-30 13:28:30 -03:00
2024-09-13 12:42:33 -04:00
2024-09-17 16:49:17 +03:00
2024-05-03 15:32:30 -04:00
2024-06-13 07:11:35 +03:00
2024-09-25 09:39:36 -04:00
2024-09-20 15:25:14 -04:00
2024-05-23 14:29:19 +02:00
2024-05-23 14:29:19 +02:00
2024-09-23 21:12:25 +03:00
2024-08-26 10:47:53 -04:00
2023-01-31 18:50:10 +01:00
2024-09-30 16:52:49 -05:00
2024-09-30 16:52:49 -05:00
2024-09-30 10:28:47 +02:00
2024-09-23 17:52:14 -04:00
2024-05-31 11:09:20 +03:00
2024-05-31 11:09:20 +03:00
2023-10-09 10:40:19 +02:00
2024-09-19 16:43:41 +02:00
2024-05-21 14:39:28 -05:00
2024-09-19 16:43:41 +02:00
2024-09-19 16:43:41 +02:00
2024-04-29 21:52:15 -04:00
2024-07-17 22:55:12 +03:00
2024-09-30 16:52:49 -05:00
2024-09-27 19:56:32 +01:00
2024-09-27 14:23:21 -05:00
2024-09-17 21:11:16 +02:00
2024-09-17 21:11:16 +02:00
2024-05-30 12:04:47 -04:00
2023-03-27 11:55:13 -04:00
2024-09-19 16:43:41 +02:00
2023-01-27 08:50:36 +01:00
2024-06-13 07:11:35 +03:00
2023-04-28 15:56:59 +01:00
2023-01-27 08:50:36 +01:00
2024-05-02 15:24:59 +01:00
2023-09-29 14:56:48 +02:00
2023-09-29 14:56:48 +02:00
2023-09-29 14:56:48 +02:00
2024-02-05 20:12:15 +02:00
2023-09-29 14:56:48 +02:00
2024-02-28 10:19:02 -05:00
2024-05-02 15:24:59 +01:00
2023-09-29 14:56:48 +02:00
2023-12-12 14:43:11 -06:00
2023-12-12 14:43:11 -06:00
2023-04-12 12:30:33 -04:00
2023-04-12 12:30:33 -04:00
2024-06-13 07:11:35 +03:00
2024-08-13 08:31:07 +02:00
2024-02-05 20:12:15 +02:00
2024-08-13 12:26:26 +02:00
2023-03-31 16:34:35 +02:00
2023-08-30 18:46:47 +03:00
2024-02-28 10:19:02 -05:00
2023-02-02 11:34:00 -06:00
2023-06-08 18:59:54 -04:00
2024-09-30 16:52:49 -05:00
2024-04-29 21:52:15 -04:00
2024-08-21 11:40:42 -04:00