Alerting: Rename setting AlertForDuration to DefaultRuleEvaluationInterval (#45569)

* fix AlertForDuration to DefaultRuleEvaluationInterval

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
This commit is contained in:
Yuriy Tseretyan
2022-02-18 10:05:06 -05:00
committed by GitHub
parent 25f155a44d
commit e44ea3d589
3 changed files with 17 additions and 15 deletions

View File

@@ -84,7 +84,7 @@ func (ng *AlertNG) init() error {
store := &store.DBstore{
BaseInterval: ng.Cfg.UnifiedAlerting.BaseInterval,
DefaultInterval: ng.Cfg.UnifiedAlerting.DefaultAlertForDuration,
DefaultInterval: ng.Cfg.UnifiedAlerting.DefaultRuleEvaluationInterval,
SQLStore: ng.SQLStore,
Logger: ng.Log,
FolderService: ng.folderService,