-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Limit the number of HTTP connection using outputs.wavefront #14090
Copy link
Copy link
Closed
Labels
feature requestRequests for new plugin and for new features to existing pluginsRequests for new plugin and for new features to existing plugins
Description
Use Case
Please add a feature request for the outputs.wavefront Telegraf output plugin which can control for the number of connections the plugin makes such that we can pin it to a specific value, like outputs.http does now.
This is to avoid the Wavefront plugin from making too many connection and overloading the proxies.
Expected behavior
We set the number of HTTP connections (like outputs.http does now) to a certain value and it stays that way.
Example from outputs.http:
## MaxIdleConns controls the maximum number of idle (keep-alive)
## connections across all hosts. Zero means no limit.
# max_idle_conn = 0
## MaxIdleConnsPerHost, if non-zero, controls the maximum idle
## (keep-alive) connections to keep per-host. If zero,
## DefaultMaxIdleConnsPerHost is used(2).
# max_idle_conn_per_host = 2
## Idle (keep-alive) connection timeout.
## Maximum amount of time before idle connection is closed.
## Zero means no limit.
# idle_conn_timeout = 0
Actual behavior
This doesn't currently exist.
Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestRequests for new plugin and for new features to existing pluginsRequests for new plugin and for new features to existing plugins