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 interface
[[inputs.http_response]]
address = "http://google.com"
bind = "eth0"
Current 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
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Add a bind interface/IP address to the
http_responseplugin to force the request to egress via a specific interfaceCurrent behavior:
The request uses the default
net.Dialerwhich 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.Clientto.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