Skip to content
Discussion options

You must be logged in to vote

I got the answer for my query
Need to use client like below

client := http.Client{Transport: otelhttp.NewTransport(http.DefaultTransport)}
req, _ := http.NewRequestWithContext(ctx, "GET", url, nil)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by MrAlias
Comment options

You must be logged in to vote
3 replies
@ianling
Comment options

@MrAlias
Comment options

@pellared
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants