grafana/pkg/tests/api
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
..
alerting Alerting: Consistently return Prometheus-style responses from rules APIs. (#86600) 2024-04-19 21:03:20 +02:00
azuremonitor Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
correlations Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
dashboards Storage: Watch tests (#85496) 2024-04-08 11:42:12 -04:00
elasticsearch Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
folders RBAC: Add actionsets struct and write path (#86108) 2024-04-19 15:38:14 +01:00
graphite Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
influxdb Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
loki Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
metrics remove flaky cloudwatch test (#45800) 2022-02-23 13:59:53 -06:00
opentdsb Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
plugins mysql additional decoupling steps (#86168) 2024-04-16 11:50:41 +02:00
prometheus Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
stats Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00