Steve Simpson
6ea97e41fb
Alerting: Consistently return Prometheus-style responses from rules APIs. ( #86600 )
...
* Alerting: Consistently return Prometheus-style responses from rules APIs.
This commit is part refactor and part fix. The /rules API occasionally returns
error responses which are inconsistent with other error responses. This fixes
that, and adds a function to map from Prometheus error type and HTTP code.
* Fix integration tests
* Linter happiness
* Make linter more happy
* Fix up one more place returning non-Prometheus responses
2024-04-19 21:03:20 +02:00
..
2024-04-19 15:38:14 +01:00
2024-04-04 15:04:47 +02:00
2024-04-15 10:54:50 +02:00
2024-02-09 09:35:39 -05:00
2024-04-19 09:22:14 +03:00
2024-04-11 10:25:29 +02:00
2024-04-16 15:48:12 +01:00
2023-06-22 09:43:38 +01:00
2024-02-16 18:54:59 +01:00
2024-04-17 15:43:09 -04:00
2024-04-11 13:28:23 +02:00
2024-04-04 15:04:47 +02:00
2024-04-09 12:27:43 +02:00
2024-04-11 12:31:47 +03:00
2024-03-22 14:31:01 -03:00
2024-02-09 09:35:39 -05:00
2023-10-30 14:06:26 -04:00
2024-04-08 11:45:39 +02:00
2023-08-30 18:46:47 +03:00
2024-03-21 16:41:10 +01:00
2024-04-19 19:12:59 +02:00
2024-04-09 12:27:43 +02:00
2024-03-25 12:43:28 -03:00
2024-04-16 08:30:51 -06:00
2024-03-15 14:05:27 +02:00
2023-08-17 09:51:45 +02:00
2023-06-19 23:44:01 +02:00
2024-04-16 16:33:50 +02:00
2024-04-09 12:27:43 +02:00
2024-04-09 12:27:43 +02:00
2023-04-14 09:43:11 +01:00
2024-02-27 18:39:51 +02:00
2024-04-16 15:24:34 +02:00
2024-02-09 09:35:39 -05:00
2024-04-17 14:18:06 +01:00
2024-04-19 21:03:20 +02:00
2024-03-14 13:25:28 +01:00
2024-02-05 16:44:25 +01:00
2024-04-17 15:24:36 +02:00
2024-02-09 09:35:39 -05:00
2024-01-16 11:08:39 +01:00
2024-04-18 14:29:02 +02:00
2024-02-09 09:35:39 -05:00
2024-04-08 11:45:39 +02:00
2024-04-04 15:04:47 +02:00
2024-04-04 12:22:31 -04:00
2024-02-20 07:32:40 -06:00
2024-04-04 15:04:47 +02:00
2024-04-04 12:22:31 -04:00
2024-03-20 07:13:16 +00:00
2024-01-25 11:10:35 +01:00
2024-02-27 18:39:51 +02:00
2024-04-04 15:04:47 +02:00
2024-04-04 15:04:47 +02:00
2024-04-04 12:22:31 -04:00
2024-02-09 09:35:39 -05:00
2024-03-25 09:58:40 +01:00
2024-04-17 08:37:47 -04:00
2024-04-18 15:16:59 +03:00
2024-02-09 09:35:39 -05:00
2024-04-04 15:04:47 +02:00
2024-04-16 08:30:51 -06:00
2024-04-04 12:22:31 -04:00
2024-02-09 09:35:39 -05:00
2024-04-04 15:04:47 +02:00
2024-03-28 16:05:33 +01:00
2024-04-11 12:04:53 +02:00
2024-04-17 15:24:36 +02:00
2023-01-23 15:10:14 -05:00