We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When build a request and call TraceRequest(), two spans will be recorded, a root span and a child span, so why we use two spans to trace one request?
The text was updated successfully, but these errors were encountered:
FWIW, this is what I see in Datadog, an empty HTTP_CLIENT root span that's not necessary:
HTTP_CLIENT
Based on the code, I don't see where a root span could have been set other than in Tracer.start(req)
Tracer.start(req)
go-stdlib/nethttp/client.go
Line 222 in 8a6ff1a
start
Line 173 in 8a6ff1a
Was Tracer suppose to be initiated with a root span somehow but got missed
Tracer
Line 131 in 8a6ff1a
ht := &Tracer{tr: tr, opts: opts, root: opentracing.SpanFromContext(req.Context())}
?
Sorry, something went wrong.
No branches or pull requests
When build a request and call TraceRequest(), two spans will be recorded, a root span and a child span, so why we use two spans to trace one request?
The text was updated successfully, but these errors were encountered: