-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Migrate converter thrift jaeger #37823
Migrate converter thrift jaeger #37823
Conversation
Signed-off-by: nabil salah <[email protected]>
PTAL @yurishkuro |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the new functions used anywhere.
@yurishkuro as we planned here: https://docs.google.com/document/d/11ITBz59augUHL40jzgPKzEULUEPKCUwChRDERt7zQAk/edit?usp=drivesdk |
Sorry I don't follow - which release are you blocked on? |
@yurishkuro which doesn't has the migrated jaeger, zipkin converter code so i can't use it now in any place outside of there modules as |
Whole contrib was just upgraded to latest jaeger 1.66, so you don't have dependencies from that side. And internal dependencies in contrib are all correlated, modules don't depend on different versions of other modules, they use local overrides. |
PTAL @yurishkuro so now in the prev pr #37796 I'll need to make a new pr to move the migrated module outside of |
@@ -14,7 +14,6 @@ import ( | |||
"github.com/jaegertracing/jaeger-idl/thrift-gen/agent" | |||
jaegerthrift "github.com/jaegertracing/jaeger-idl/thrift-gen/jaeger" | |||
"github.com/jaegertracing/jaeger/cmd/agent/app/servers/thriftudp" | |||
jaegerconvert "github.com/jaegertracing/jaeger/model/converter/thrift/jaeger" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this literally the only file in contrib that depends on this Jaeger module? I don't think it makes sense to migrate in this case, we can probably just refactor the test to not have the dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g. this is the only place I see it being used
jexp.EmitBatch(context.Background(), modelToThrift(batch))
i.e. it needs to construct thrift payload to send to the server. We can just load one of the JSON thrift fixtures and parse it in Thrift model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can do this
but it will also be used when migrating cmd/agent
#37796
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so what way you suggest going with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see what you mean. Let's proceed here then.
Description
Remove jaeger model/converter/thrift/jaeger dependency
Link to tracking issue
Resolves #37820
Part of jaegertracing/jaeger#6409
Testing
Documentation