Replace `PromQL` -> `LogQL` wordings in Querier (#5602)

pull/5539/head
Kaviraj Kanagaraj 4 years ago committed by GitHub
parent d320873e82
commit d6621f452f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkg/querier/worker/worker.go

@ -28,7 +28,7 @@ type Config struct {
Parallelism int `yaml:"parallelism"`
MatchMaxConcurrency bool `yaml:"match_max_concurrent"`
MaxConcurrentRequests int `yaml:"-"` // Must be same as passed to PromQL Engine.
MaxConcurrentRequests int `yaml:"-"` // Must be same as passed to LogQL Engine.
QuerierID string `yaml:"id"`
@ -260,7 +260,7 @@ func (w *querierWorker) resetConcurrency() {
// If concurrency is 0 then MaxConcurrentRequests is less than the total number of
// frontends/schedulers. In order to prevent accidentally starving a frontend or scheduler we are just going to
// always connect once to every target. This is dangerous b/c we may start exceeding PromQL
// always connect once to every target. This is dangerous b/c we may start exceeding LogQL
// max concurrency.
if concurrency == 0 {
concurrency = 1
@ -272,7 +272,7 @@ func (w *querierWorker) resetConcurrency() {
}
if totalConcurrency > w.cfg.MaxConcurrentRequests {
level.Warn(w.logger).Log("msg", "total worker concurrency is greater than promql max concurrency. Queries may be queued in the querier which reduces QOS")
level.Warn(w.logger).Log("msg", "total worker concurrency is greater than logql max concurrency. Queries may be queued in the querier which reduces QOS")
}
}

Loading…
Cancel
Save