mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 16:43:21 +00:00
9e3df532d8
This function is useful to analyze promQL queries. We want to use this in Mimir to record the time range which the query touches. I also chose to remove the `Engine` receiver because it was unnecessary, and it makes it easier to use, but happy to refactor that if you disagree. The function is untested on its own. If you prefer to have unit tests now that its exported, I can look into adding some. Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> |
||
---|---|---|
.. | ||
fuzz-data | ||
parser | ||
testdata | ||
bench_test.go | ||
engine_test.go | ||
engine.go | ||
functions_test.go | ||
functions.go | ||
fuzz_test.go | ||
fuzz.go | ||
promql_test.go | ||
quantile.go | ||
query_logger_test.go | ||
query_logger.go | ||
test_test.go | ||
test.go | ||
value_test.go | ||
value.go |