mirror of
https://github.com/prometheus/prometheus
synced 2024-12-28 09:42:22 +00:00
9adad8ad30
Since we use ActiveQueryTracker to check for concurrency in d992c36b3a08470532fb4fb36a768a20ec8f2e12 it does not make sense to keep the MaxConcurrent value as an option of the PromQL engine. This pull request removes it from the PromQL engine options, sets the max concurrent metric to -1 if there is no active query tracker, and use the value of the active query tracker otherwise. It removes dead code and also will inform people who import the promql package that we made that change, as it breaks the EngineOpts struct. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> |
||
---|---|---|
.. | ||
fuzz-data | ||
testdata | ||
ast.go | ||
bench_test.go | ||
engine_test.go | ||
engine.go | ||
functions_test.go | ||
functions.go | ||
fuzz.go | ||
generated_parser.y | ||
generated_parser.y.go | ||
lex_test.go | ||
lex.go | ||
parse_test.go | ||
parse.go | ||
printer_test.go | ||
printer.go | ||
promql_test.go | ||
quantile.go | ||
query_logger_test.go | ||
query_logger.go | ||
test_test.go | ||
test.go | ||
value.go |