VictoriaMetrics/app
Roman Khavronenko f393145843
Adjust http.Transport.MaxIdleConns setting for vmauth/vmalert services (#1704)
* vmalert: adjust `http.Transport.MaxIdleConns` value accordingly to `http.Transport.MaxIdleConnsPerHost`

`http.Transport.MaxIdleConnsPerHost` setting is controlled by `datasource.maxIdleConnections` flag,
while `http.Transport.MaxIdleConns` is inherited from DefaultTransport and is equal to `100`.
The fix adjusts `http.Transport.MaxIdleConns` value if it is lower than `http.Transport.MaxIdleConnsPerHost`.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmauth: adjust `http.Transport.MaxIdleConns` value accordingly to `http.Transport.MaxIdleConnsPerHost`

`http.Transport.MaxIdleConnsPerHost` setting is controlled by `maxIdleConnsPerBackend` flag,
while `http.Transport.MaxIdleConns` is inherited from DefaultTransport and is equal to `100`.
The fix adjusts `http.Transport.MaxIdleConns` value if it is lower than `http.Transport.MaxIdleConnsPerHost`.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2021-10-13 19:23:52 +03:00
..
vmagent app/vmagent: expose -promscrape.config contents at /config page as Prometheus does 2021-10-12 16:27:37 +03:00
vmalert Adjust http.Transport.MaxIdleConns setting for vmauth/vmalert services (#1704) 2021-10-13 19:23:52 +03:00
vmauth Adjust http.Transport.MaxIdleConns setting for vmauth/vmalert services (#1704) 2021-10-13 19:23:52 +03:00
vmbackup app/{vmbackup,vmrestore}: switch from gcs://... to gs://... urls for backups to GCS 2021-09-29 12:12:37 +03:00
vmbackupmanager app/{vmbackup,vmrestore}: switch from gcs://... to gs://... urls for backups to GCS 2021-09-29 12:12:37 +03:00
vmctl app/vmctl: fix misleading comment about cluster version for native mode (#1648) 2021-09-23 20:47:56 +03:00
vmgateway docs/{vmgateway,vmbackupmanager}: mention that enterprise binaries are free for download and evaluation 2021-08-27 14:53:48 +03:00
vminsert app/{vminsert,vmstorage}: follow-up after a171916ef5 2021-10-08 14:09:51 +03:00
vmrestore app/{vmbackup,vmrestore}: switch from gcs://... to gs://... urls for backups to GCS 2021-09-29 12:12:37 +03:00
vmselect app/vmselect/promql: add atan2 binary operator, which is going to be added in Prometheus 2.31 2021-10-11 21:17:23 +03:00
vmstorage app/{vminsert,vmstorage}: follow-up after a171916ef5 2021-10-08 14:09:51 +03:00
vmui app/vmui: follow-up after 7bfb44113e 2021-10-08 15:11:09 +03:00