diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 67e7e94..14e3869 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -75,6 +75,7 @@ func (i *Instrumenter) InstrumentedRoundTripper() http.RoundTripper { promhttp.InstrumentRoundTripperDuration(requestLatencyHistogram, i.instrumentRoundTripperEndpoint(requestsPerEndpointCounter, &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{ InsecureSkipVerify: i.insecureSkipVerify, //nolint:gosec },