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
..
2024-09-27 19:56:32 +01:00
2024-09-30 10:28:47 +02:00
2024-08-13 10:18:28 +02:00
2024-06-13 07:11:35 +03:00
2024-09-27 09:04:35 +03:00
2024-09-24 09:03:48 +03:00
2024-09-24 18:38:09 +02:00
2024-08-27 15:01:42 -07:00
2023-06-22 09:43:38 +01:00
2024-05-16 14:36:26 -03:00
2024-09-30 17:54:12 +02:00
2024-09-24 18:38:09 +02:00
2024-09-24 09:38:17 -05:00
2024-08-09 18:20:24 +03:00
2024-09-30 10:28:47 +02:00
2024-09-30 10:28:47 +02:00
2024-06-25 09:19:49 -04:00
2024-06-05 13:36:14 +02:00
2024-09-13 09:08:26 +02:00
2024-05-27 14:21:40 +02:00
2024-09-27 09:11:59 +02:00
2024-09-30 13:46:14 -06:00
2024-09-30 10:28:47 +02:00
2024-05-31 10:03:43 -03:00
2024-08-06 09:52:11 -06:00
2024-08-09 18:20:24 +03:00
2023-08-17 09:51:45 +02:00
2023-06-19 23:44:01 +02:00
2024-08-20 17:31:13 +02:00
2024-09-30 10:28:47 +02:00
2024-09-30 10:28:47 +02:00
2024-06-12 16:45:13 +01:00
2024-09-26 08:41:47 -04:00
2024-06-13 07:11:35 +03:00
2024-05-10 13:49:59 +02:00
2024-09-27 19:56:32 +01:00
2024-09-30 16:52:49 -05:00
2024-09-12 03:58:06 +00:00
2024-08-19 18:57:37 +02:00
2024-09-25 15:21:39 -08:00
2024-08-21 14:49:28 +03:00
2024-06-14 14:16:36 -04:00
2024-09-30 16:33:15 +02:00
2024-07-31 13:56:39 +01:00
2024-09-24 09:38:17 -05:00
2024-09-30 10:28:47 +02:00
2024-08-21 11:40:42 -04:00
2024-07-31 12:10:52 -06:00
2024-09-25 15:21:39 -08:00
2024-06-13 07:11:35 +03:00
2024-05-14 07:24:18 -03:00
2024-08-05 17:17:39 -08:00
2024-08-21 11:40:42 -04:00
2024-09-25 15:21:39 -08:00
2024-05-28 16:59:06 +03:00
2024-09-27 09:11:59 +02:00
2024-06-13 07:11:35 +03:00
2024-09-04 15:01:24 +02:00
2024-09-30 10:28:47 +02:00
2024-08-13 18:17:52 +03:00
2024-08-09 18:20:24 +03:00
2024-09-25 15:21:39 -08:00
2024-09-05 13:42:15 +02:00
2024-06-13 07:11:35 +03:00
2024-02-09 09:35:39 -05:00
2024-09-25 15:21:39 -08:00
2024-06-25 09:19:49 -04:00
2024-04-11 12:04:53 +02:00
2024-09-25 15:21:39 -08:00