prometheus/promql/testdata
David King 6286c10df0 Fix OOM when a large K is used in topk queries (#4087)
This attempts to close #3973.

Handles cases where the length of the input vector to an aggregate topk
/ bottomk function is less than the K paramater. The change updates
Prometheus to allocate a result vector the same length as the input
vector in these cases.

Previously Prometheus would out-of-memory panic for large K values. This
change makes that unlikely unless the size of the input vector is
equally large.

Signed-off-by: David King <dave@davbo.org>
2018-04-16 09:03:04 +01:00
..
aggregators.test Fix OOM when a large K is used in topk queries (#4087) 2018-04-16 09:03:04 +01:00
functions.test time() return milliseconds (#3811) 2018-02-08 11:39:13 +00:00
histograms.test
legacy.test Remove keep_common modifier. 2017-10-05 13:27:48 +01:00
literals.test
operators.test drop metric name for bool modifier (#3821) 2018-02-11 16:15:55 +00:00
selectors.test Add tests for negative selectors. (#3616) 2017-12-23 14:06:37 +00:00
staleness.test