-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove EmitZipkinBatch([]*zipkincore.Span)
from agent reporter
#1193
Comments
Also remove duplicated metrics in reporter
|
EmitZipkinBatch(zSpans []*zipkincore.Span)
from agent reporter
EmitZipkinBatch(zSpans []*zipkincore.Span)
from agent reporterEmitZipkinBatch([]*zipkincore.Span)
from agent reporter
Also update changelog per #1180 (comment) |
@yurishkuro do you want why this has a list of batches? https://github.com/jaegertracing/jaeger/blob/master/thrift-gen/jaeger/tchan-jaeger.go#L39, The IDL defines only a single batch object. |
I would like to clarify the scope of this issue. Do we want to remove zipkin.thrift reporting on the agent plus collecting on the collector side? #1186 would be simpler and more straight forward, otherwise, we will have to keep some parts of the zipkin path. Also there is no direct converter from zipkin thrift to jaeger. We might go through model converter as workaround... |
Looks like a list: https://github.com/jaegertracing/jaeger-idl/blob/23730e3f90bf592e6518060c437171093dd3a1e4/thrift/jaeger.thrift#L83-L85 As to why - the thinking was that agent did not have to proxy batches 1-1, it could have pre-aggregated them. In order to support sending batches from multiple services we needed a list. You're correct that if we do #1186 we can simply remove zipkin handling from the agent altogether. Maybe we can punt on it for now, as we will need time to move that code into internal repo, to maintain backwards compatibility (and it might be tricky to incorporate a whole new path like that without changes in the core). |
oh for some reason I was looking at Just comment when we can go forward and remove it. If you can upgrade all agents we could just remove the submitbatches from zipkin.thrift, keep it on agent with empty impl. you would just implement it with sanitizers like in grpc path. |
I think that was my original proposal - still allow agent to accept zipkin over udp, but internally convert to jaeger before sending to collectors. Then it is still backwards compatible with legacy clients. |
Copied from See #1181 (comment)
Right now we have this flow:
What I am proposing, is to eliminate
reporter::SubmitZipkinSpans
completely and have this:This way the Reporter only has a single method for Jaeger spans (in Thrift, for now).
Once we remove tchannel completely, we can push thrift->domain conversion into UDP servers as well, and Reporter interface effectively becomes == Collector service from proto IDL.
The text was updated successfully, but these errors were encountered: