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 --zipkin-trace-v2 option #10184
Conversation
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.
Yay!
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.
Thanks!
@@ -51,68 +50,6 @@ def test_zipkin_reporter_with_zero_sample_rate(self): | |||
num_of_traces = len(ZipkinHandler.traces) | |||
self.assertEqual(num_of_traces, 0) | |||
|
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.
The test above this looks dead as well?
@@ -94,13 +94,6 @@ def register_options(cls, register): | |||
default=100.0, | |||
help="Rate at which to sample Zipkin traces. Value 0.0 - 100.0.", | |||
) |
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 expect that there is a lot more code in here related to zipkin that can be removed.
8261b8c
to
946d87c
Compare
This commit removes the --zipkin-trace-v2 option and tests using it. In the v2 world, we will implement zipkin tracing (if necessary) with a plugin that consumes streaming workunits. This also allows us to remove the
get_workunits
rust FFI function, which was only used to implement this functionality, and no longer have to pass around the zipkin tracing boolean in rust code.