Skip to content
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

Define zipkin compatibility #248

Closed
pavolloffay opened this issue Jul 4, 2017 · 6 comments
Closed

Define zipkin compatibility #248

pavolloffay opened this issue Jul 4, 2017 · 6 comments

Comments

@pavolloffay
Copy link
Member

I would like to more formally define Zipkin compatibility. What is currently supported and what will be supported in the future.

Currently we accept zipkin spans in thrift format over HTTP. Default endpoint is http://localhost:14268/api/traces?format=zipkin.thrift.

Default Zipkin endpoint is http://localhost:9411/api/v1/spans with Content-Type thrift or json and optional gzip encoding.

The difference makes it hard to send data from zipkin instrumentations to jaeger server. In some cases it requires changes in zipkin tracers because of the hardcoded path (/api/v1/spans) and often it's not possible to configure sender with a custom query param (format=zipkin.thrift).

We should consider supporting the same endpoint on the jaeger side to make migrations easier.

@codefromthecrypt
Copy link

codefromthecrypt commented Jul 4, 2017 via email

@pavolloffay
Copy link
Member Author

@yurishkuro do you see any blockers why not to expose port 9411 and use the same URL mapping as zipkin uses? Currently it's hard/inconvenient to switch from zipkin to jaeger. In most cases it requires changes in tracers/reporters.

@yurishkuro
Copy link
Member

Yes, I think that's the right thing to do. It could be an optional setting. And code-wise it should be fairly straightforward, just a shim handler that will delegate to the existing logic (I'm only referring to writing spans, don't know why it would be worth the time supporting read API).

What about posting spans in zipkin's JSON format, was there any ask / use cases for that?

@codefromthecrypt
Copy link

codefromthecrypt commented Jul 18, 2017 via email

@pavolloffay
Copy link
Member Author

I can have a look at this. You can assign it to me.

@mabn
Copy link

mabn commented Jul 23, 2017

What about posting spans in zipkin's JSON format, was there any ask / use cases for that?

https://github.com/uber/jaeger/issues/225 - "Allow Istio to report Zipkin span data to Jaeger"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants