grafana/pkg/services/ngalert/models
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
..
admin_configuration_test.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
admin_configuration.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
alert_query_test.go Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
alert_query.go Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
alert_rule_test.go Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
alert_rule.go Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
alertmanager.go Alerting: Fetch all applied alerting configurations (#65728) 2023-03-31 17:43:04 -03:00
constants.go Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests (#60417) 2022-12-21 13:25:58 +01:00
history.go Alerting: Add endpoint for querying state history (#62166) 2023-02-02 11:34:00 -06:00
image_test.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
image.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
instance_labels.go Alerting: Write and Delete multiple alert instances. (#55350) 2022-10-06 14:22:58 +08:00
instance_test.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
instance.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
provisioning.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
testing.go Expressions: Fixes the issue showing expressions editor (#62510) 2023-01-31 18:50:10 +01:00
time.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00