limit the number of requests in flights for Prometheus server (#1927)

* limit the number of requests in flights for Prometheus server

Closes #1804

Default to 1 because usually there's just one collector.

* config: Up default for prom connections
This commit is contained in:
Anton Kaliaev
2018-07-10 15:49:48 +04:00
committed by GitHub
parent ce33914f70
commit 4de9d42e4c
7 changed files with 35 additions and 6 deletions

View File

@@ -209,4 +209,10 @@ prometheus = false
# Address to listen for Prometheus collector(s) connections
prometheus_listen_addr = ":26660"
# Maximum number of simultaneous connections.
# If you want to accept a more significant number than the default, make sure
# you increase your OS limits.
# 0 - unlimited.
max_open_connections = 3
```