Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using HTTP Proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <paskal.maksim@gmail.com>
maksim-paskal committed Jul 28, 2024

Verified

This commit was signed with the committer’s verified signature.
maksim-paskal Maksim Paskal
1 parent cde1c54 commit b1efa7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
@@ -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
},

0 comments on commit b1efa7c

Please sign in to comment.