prometheus/storage
Tom Wilkie 457e4bb58e
Limit the number of samples remote read can return. (#4532)
* Limit the number of samples remote read can return.

- Return 413 entity too large.
- Limit can be set be a flag.  Allow 0 to mean no limit.
- Include limit in error message.
- Set default limit to 50M (* 16 bytes = 800MB).

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2018-09-05 15:50:50 +02:00
..
remote Limit the number of samples remote read can return. (#4532) 2018-09-05 15:50:50 +02:00
tsdb all: remove unnecessary type conversions (#3992) 2018-03-21 09:25:22 +00:00
buffer.go Reuse (copy) overlapping matrix samples between range evaluation steps (#4315) 2018-07-18 11:14:02 +01:00
buffer_test.go Simplify BufferedSeriesIterator usage (#4294) 2018-07-18 05:10:28 +01:00
fanout.go Avoid infinite loop on duplicate NaN values. (#4275) 2018-06-18 17:34:08 +01:00
fanout_test.go Avoid infinite loop on duplicate NaN values. (#4275) 2018-06-18 17:34:08 +01:00
interface.go Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01:00
noop.go Simplify BufferedSeriesIterator usage (#4294) 2018-07-18 05:10:28 +01:00