Alerting: Limit and clean up old alert rules versions (#89754)

This commit is contained in:
Brandon
2024-10-05 00:31:21 +03:00
committed by GitHub
parent 4ec75bcc60
commit fbad76007d
5 changed files with 207 additions and 3 deletions
+5
View File
@@ -1335,6 +1335,11 @@
# Duration for which a resolved alert state transition will continue to be sent to the Alertmanager.
;resolved_alert_retention = 15m
# Defines the limit of how many alert rule versions
# should be stored in the database for each alert rule in an organization including the current one.
# 0 value means no limit
;rule_version_record_limit= 0
[unified_alerting.screenshots]
# Enable screenshots in notifications. You must have either installed the Grafana image rendering
# plugin, or set up Grafana to use a remote rendering service.