unify loki settings

This commit is contained in:
Vadim Stepanov
2025-07-15 14:04:16 +01:00
parent f8ca04bfee
commit 81f34b4cc5
8 changed files with 162 additions and 153 deletions
@@ -61,7 +61,7 @@ func NewLokiHistorianStore(cfg setting.UnifiedAlertingStateHistorySettings, db d
if !useStore(cfg) {
return nil
}
lokiCfg, err := historian.NewLokiConfig(cfg)
lokiCfg, err := lokiclient.NewLokiConfig(cfg.LokiSettings)
if err != nil {
// this config error is already handled elsewhere
return nil