prometheus/web/api
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
..
v1 Limit the number of samples remote read can return. (#4532) 2018-09-05 15:50:50 +02:00
v2 web: clean up api/v2 (#4554) 2018-08-29 12:55:46 +05:30