Alerting: Remove feature toggles relating to Loki Alert State History (#103540)

* Remove feature toggles relating to Loki Alert State History
This commit is contained in:
William Wernert
2025-04-08 09:50:27 -04:00
committed by GitHub
parent a9ef8bcced
commit a8f60de620
12 changed files with 19 additions and 131 deletions
@@ -41,7 +41,7 @@ func ProvideService(
write := xormStore
var read readStore
historianStore := loki.NewLokiHistorianStore(cfg.UnifiedAlerting.StateHistory, features, db, ruleStore, log.New("annotations.loki"), tracer)
historianStore := loki.NewLokiHistorianStore(cfg.UnifiedAlerting.StateHistory, db, ruleStore, log.New("annotations.loki"), tracer)
if historianStore != nil {
l.Debug("Using composite read store")
read = NewCompositeStore(log.New("annotations.composite"), xormStore, historianStore)