* Alerting: Add setting for maximum allowed rule evaluation results
Added a new configuration setting `quota.alerting_rule_evaluation_results` to set the maximum number of alert rule evaluation results per rule. If the limit is exceeded, the evaluation will result in an error.
pull/89995/head
Alexander Akhmetov11 months agocommitted byRyan McKinley
#Enable the Unified Alerting sub-system and interface. When enabled we'll migrate all of your alert rules and notification channels to the new system. New alert rules will be created and your notification channels will be converted into an Alertmanager configuration. Previous data is preserved to enable backwards compatibility but new data is removed.```
@ -1554,6 +1554,10 @@ Sets a global limit on number of alert rules that can be created. Default is -1
Sets a global limit on number of correlations that can be created. Default is -1 (unlimited).
### alerting_rule_evaluation_results
Limit the number of query evaluation results per alert rule. If the condition query of an alert rule produces more results than this limit, the evaluation results in an error. Default is -1 (unlimited).