Skip to content

Commit

Permalink
proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 authored and rsevilla87 committed Oct 13, 2022
1 parent 3115dcf commit 0705206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ func NewPrometheusClient(url, token, username, password, uuid string, tlsVerify
Step: step,
uuid: uuid,
}

log.Info("👽 Initializing prometheus client")
cfg := api.Config{
Address: url,
RoundTripper: authTransport{
Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: tlsVerify}},
Transport: &http.Transport{Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{InsecureSkipVerify: tlsVerify}},
token: token,
username: username,
password: password,
Expand Down

0 comments on commit 0705206

Please sign in to comment.