Open viliampucik opened 2 years ago
As far as I can tell, the http_response input only has support for http proxy. I think the only telegraf plugins that support socks are the websocket output and the kafka output.
Since telegraf does have some common code available to use, it may not be too difficult to add this to the http response input as a new feature. Would you be able to make the code changes using those output plugins as examples and submit a PR?
Use Case
We would like to use HTTP Response plugin to measure web page latency, however the page is accessible via a SOCKS proxy. The plugin support HTTP proxy, but not SOCKS.
Expected behavior
HTTP Response plugin supports SOCKS configuration.
Actual behavior
HTTP Response plugin ignores SOCKS related settings, such as
socks5_enabled
,socks5_address
,socks5_username
,socks5_password
.Additional info
No response