-
Notifications
You must be signed in to change notification settings - Fork 100
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
link to this from opentracing.io once it's considered semantically correct #3
Comments
@bensigelman it tries to be as correct as possible but there are some grey areas especially dealing with items like what is considered to be part of a single span. OpenTracing expects client side and server side of a single RPC call in separate spans. Zipkin V1 expects them inside the same span (hence the need for CS, SR, SS, CR annotations with Zipkin). This tracing implementation supports both models defaulting to standard OpenTracing single span per host. When Zipkin Example OpenTracing Span / Host:
Example Zipkin Span / RPC:
Another difference is the propagation keys themselves. They do not follow the same naming conventions as standard OpenTracing but use Zipkin B3 naming for HTTP headers and gRPC metadata. But this should come as no surprise. Propagation keys are tracing backend specific to allow interop with non-OpenTracing Zipkin enabled services. For the rest the Tracer is fully inline with opentracing-go and if you check Go Kit PR go-kit/kit#275 you will see the |
@basvanbeek thank you for the detailed message and explanation. A few responses...
At the risk of sounding pedantic, OpenTracing doesn't actually specify whether the client and server are different spans. That's partly why the method is called
OpenTracing per se has no opinion about HTTP headers... Anyway, this is great work, thank you! |
PS: you didn't explicitly answer my question, but it seems like you're ok with opentracing.io linking to this impl? |
I didn't see the issue subject being a question but I'm fine with it. |
…red-client Fix HTTP client connection management
@basvanbeek I just came across this the other day -- thank you for doing the work!
This issue is really a glorified email message.
What's the state of this repo from a correctness standpoint? If it's working well, I'd like to make note of it at opentracing.io and use it as the basis for similar libs in Java, python, etc.
I will happily do the work on the opentracing.io side once you give the high sign.
Thanks again!
The text was updated successfully, but these errors were encountered: