Support binding to a specific local address for http_response
#5856
Labels
feature request
Requests for new plugin and for new features to existing plugins
good first issue
This is a smaller issue suited for getting started in Telegraf, Golang, and contributing to OSS.
Milestone
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Add a bind interface/IP address to the
http_response
plugin to force the request to egress via a specific interfaceCurrent behavior:
The request uses the default
net.Dialer
which selects an interface for the request.Desired behavior:
To be able to specify an interface or IP address as the address to bind the
http.Client
to.Use case:
For hosts that have VPN tunnels for a specific interface's traffic it is useful to check that you can send a request via this interface
The text was updated successfully, but these errors were encountered: