prometheus/storage/remote
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
..
client.go Send "Accept-Encoding" header in read request (#4421) 2018-07-26 12:45:04 +01:00
client_test.go Review feedback. 2018-05-29 11:35:43 +01:00
codec.go Limit the number of samples remote read can return. (#4532) 2018-09-05 15:50:50 +02:00
codec_test.go Fix remote read labelset corruption (#3456) 2017-11-12 00:47:47 +01:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
queue_manager.go change time.duration to model.duration for standardization (#4479) 2018-08-24 16:55:21 +02:00
queue_manager_test.go change time.duration to model.duration for standardization (#4479) 2018-08-24 16:55:21 +02:00
read.go Fix typo (#4423) 2018-07-26 08:49:53 +01:00
read_test.go Limit the number of samples remote read can return. (#4532) 2018-09-05 15:50:50 +02:00
storage.go Fix typo (#4423) 2018-07-26 08:49:53 +01:00
write.go Handle a bunch of unchecked errors (#4461) 2018-08-17 17:24:35 +02:00