Alerting: Fix export of imported Prometheus-style recording rules to terraform (#115661)

Alerting: Fix export imported Prometheus-style recording rules to terraform
This commit is contained in:
Alexander Akhmetov
2025-12-24 09:49:38 +01:00
committed by GitHub
parent 4f57ebe4ad
commit c38e515dec
6 changed files with 158 additions and 43 deletions
@@ -193,6 +193,7 @@ func validateRecordingRuleFields(in *apimodels.PostableExtendedRuleNode, newRule
newRule.For = 0
newRule.KeepFiringFor = 0
newRule.NotificationSettings = nil
newRule.MissingSeriesEvalsToResolve = nil
return newRule, nil
}