InfluxDB: Run queries in parallel behind influxdbRunQueriesInParallel feature toggle (#81209)

* create the feature flag

* bring the concurrency in to the play

* Update feature flag

* Use concurrency number from settings

* update influxdb dependency

* use ConcurrentQueryCount from plugin-sdk-go

* use helper method for concurrent query count

* log the error

* add value guard

* add unit tests

* handle concurrency error
This commit is contained in:
ismail simsek
2024-02-01 11:58:24 +01:00
committed by GitHub
parent c43a170009
commit 536153c336
9 changed files with 136 additions and 33 deletions
@@ -49,6 +49,7 @@ func ProvideConfig(settingProvider setting.Provider, grafanaCfg *setting.Cfg, fe
grafanaCfg.DisablePlugins,
grafanaCfg.HideAngularDeprecation,
grafanaCfg.ForwardHostEnvVars,
grafanaCfg.ConcurrentQueryCount,
), nil
}