-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
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
Why we need a root span? #48
Comments
FWIW, this is what I see in Datadog, an empty Based on the code, I don't see where a root span could have been set other than in Line 222 in 8a6ff1a
and AFAICT start only gets called onceLine 173 in 8a6ff1a
Was Line 131 in 8a6ff1a
Like: ht := &Tracer{tr: tr, opts: opts, root: opentracing.SpanFromContext(req.Context())} ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: