prometheus/storage/remote
Andreas Auernhammer 37d1bcf495 limit size of POST requests against remote read endpoint (#4239)
This commit fixes a denial-of-service issue of the remote
read endpoint. It limits the size of the POST request body
to 32 MB such that clients cannot write arbitrary amounts
of data to the server memory.

Fixes #4238

Signed-off-by: Andreas Auernhammer <aead@mail.de>
2018-06-08 08:19:20 +01:00
..
client_test.go Review feedback. 2018-05-29 11:35:43 +01:00
client.go Add proper unclean shutdown handling with a cancellable context. 2018-05-29 09:51:29 +01:00
codec_test.go Fix remote read labelset corruption (#3456) 2017-11-12 00:47:47 +01:00
codec.go limit size of POST requests against remote read endpoint (#4239) 2018-06-08 08:19:20 +01:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
queue_manager_test.go Add proper unclean shutdown handling with a cancellable context. 2018-05-29 09:51:29 +01:00
queue_manager.go Add queue name to logger for remote writes 2018-06-01 13:04:00 +00:00
read_test.go *: implement query params 2018-02-13 12:17:22 +01:00
read.go Pass query hints down into remote read query proto (#4122) 2018-05-08 09:48:13 +01:00
storage.go Make remote flush deadline a command line param. 2018-05-23 15:06:01 +01:00
write.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00