diff options
Diffstat (limited to 'client/httpclient.go')
-rw-r--r-- | client/httpclient.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/httpclient.go b/client/httpclient.go index ff0cc25..63386f7 100644 --- a/client/httpclient.go +++ b/client/httpclient.go @@ -10,6 +10,8 @@ import ( "path/filepath" "strings" "time" + + "gitlab.com/gitlab-org/labkit/correlation" ) const ( @@ -39,8 +41,9 @@ func NewHTTPClient(gitlabURL, caFile, caPath string, selfSignedCert bool, readTi return nil } + c := &http.Client{ - Transport: transport, + Transport: correlation.NewInstrumentedRoundTripper(transport), Timeout: readTimeout(readTimeoutSeconds), } |