diff --git a/plugins/inputs/http_response/http_response.go b/plugins/inputs/http_response/http_response.go index 62d6e9ec1..3dd7f9ba5 100644 --- a/plugins/inputs/http_response/http_response.go +++ b/plugins/inputs/http_response/http_response.go @@ -98,6 +98,7 @@ func (h *HTTPResponse) createHttpClient() (*http.Client, error) { } client := &http.Client{ Transport: &http.Transport{ + Proxy: http.ProxyFromEnvironment, DisableKeepAlives: true, TLSClientConfig: tlsCfg, },