mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove Loki annotation toggle (#81296)
This commit is contained in:
@@ -294,5 +294,6 @@ func useStore(cfg setting.UnifiedAlertingStateHistorySettings, ft featuremgmt.Fe
|
||||
}
|
||||
|
||||
// We should only query Loki if annotations do not exist in the database.
|
||||
return backend == historian.BackendTypeLoki
|
||||
// To be doubly sure, ensure that the feature toggle to only use Loki is enabled.
|
||||
return backend == historian.BackendTypeLoki && ft.IsEnabledGlobally(featuremgmt.FlagAlertStateHistoryLokiOnly)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user