Options to set MaxIdleConns
and MaxIdleConnsPerHost
for outputs.http plugin
#10953
Labels
feature request
Requests for new plugin and for new features to existing plugins
Feature Request
The default
transport
configuration forMaxIdleConns
andMaxIdleConnsPerHost
in golang is100
(No limits if it's set as zero in a custom defined RoundTripper or100
if using DefaultTransport) and2
respectively which may not be ideal for all production environments, especially the default value forMaxIdleConnsPerHost
may lead to multiple TCP connections getting opened and closed. Currently these are not configurable foroutputs.http
pluginProposal:
Have values for
MaxIdleConns
&MaxIdleConnsPerHost
be configurable in theoutputs.http
config.Current behavior:
Both
MaxIdleConns
&MaxIdleConnsPerHost
are set as zero for http output pluginDesired behavior:
Both
MaxIdleConns
&MaxIdleConnsPerHost
configurable from the configuration fileUse case:
keep-alive
The text was updated successfully, but these errors were encountered: