Browse Source
In order to avoid stuck collectors using up all system resources, add a limit to the number of parallel in-flight scrape requests. This will return a 503 error. Default to 40 requests, this seems like a reasonable number based on: * Two Prometheus servers scraping every 15 seconds. * Failing scrapes after 5 minutes of stuckness. Signed-off-by: Ben Kochie <superq@gmail.com>pull/1173/head
Ben Kochie
6 years ago
committed by
Johannes 'fish' Ziemke
1 changed files with 11 additions and 4 deletions
Loading…
Reference in new issue