Skip to content

Limit the number of HTTP connection using outputs.wavefront #14090

@crflanigan

Description

@crflanigan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions