Unverified Commit f0f8e505 by Chris Marchbanks Committed by GitHub

Fix missing remote read spans (#7914)

The remote read client needs to use the nethttp.Transport wrapper in
order for spans to be instrumented properly.
Signed-off-by: 's avatarChris Marchbanks <csmarchbanks@gmail.com>
parent fc8e769d
......@@ -109,6 +109,11 @@ func NewReadClient(name string, conf *ClientConfig) (ReadClient, error) {
return nil, err
t := httpClient.Transport
httpClient.Transport = &nethttp.Transport{
RoundTripper: t,
return &Client{
remoteName: name,
url: conf.URL,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment