Skip to content

Commit

Permalink
Update instrumentation/net/http/httptrace/otelhttptrace/example/clien…
Browse files Browse the repository at this point in the history
…t/client.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
dmathieu and MrAlias authored May 30, 2024
1 parent 6539287 commit 31e181f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
http.DefaultTransport,
// By setting the otelhttptrace client in this transport, it can be
// injected into the context after the span is started, which makes the
// httptrace spans childs of the transport one.
// httptrace spans children of the transport one.
otelhttp.WithClientTrace(func(ctx context.Context) *httptrace.ClientTrace {
return otelhttptrace.NewClientTrace(ctx)
}),
Expand Down

0 comments on commit 31e181f

Please sign in to comment.