grafana/pkg/tests/api/alerting
George Robinson d96b0a71d3
Alerting: Add limits to the Prometheus Rules API (#65169)
This commit adds a number of limits to the Grafana flavor of the
Prometheus Rules API:

1. `limit` limits the maximum number of Rule Groups returned
2. `limit_rules` limits the maximum number of rules per Rule Group
3. `limit_alerts` limits the maximum number of alerts per rule

It sorts Rule Groups and rules within Rule Groups such that data in the
response is stable across requests. It also returns summaries (totals) for
all Rule Groups, individual Rule Groups and rules.
2023-04-03 10:17:02 +01:00
..
api_admin_configuration_test.go Alerting: introduce AlertQuery in definitions package (#63825) 2023-03-27 11:55:13 -04:00
api_alertmanager_configuration_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_alertmanager_test.go Alerting: Fix integration test for creating silences (#65722) 2023-03-31 18:44:05 +03:00
api_available_channel_test.go Chore: All tests under pkg/tests should be integration tests (#59521) 2022-12-09 08:11:56 +01:00
api_backtesting_data.json Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
api_backtesting_test.go Alerting: introduce AlertQuery in definitions package (#63825) 2023-03-27 11:55:13 -04:00
api_notification_channel_test.go Alerting: introduce AlertQuery in definitions package (#63825) 2023-03-27 11:55:13 -04:00
api_prometheus_test.go Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
api_provisioning_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_ruler_test.go Alerting: introduce AlertQuery in definitions package (#63825) 2023-03-27 11:55:13 -04:00
testing.go Alerting: introduce AlertQuery in definitions package (#63825) 2023-03-27 11:55:13 -04:00