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

Add a header X-B3-Flags: 1 to the request to Zipkin server #8223

Conversation

cattibrie
Copy link
Contributor

@cattibrie cattibrie commented Aug 29, 2019

Add a header X-B3-Flags: 1 to the request to Zipkin server. It is a debug flag that ensures that the trace will be retained on the server side.
The decision to sample is made on the client side by setting --reporting-zipkin-sample-rate.

Copy link
Contributor

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stuhood stuhood added this to the 1.19.x milestone Aug 29, 2019
@@ -49,6 +49,7 @@ def send(self, payload):
args = ['curl', '-v',
'-X', 'POST',
'-H', 'Content-Type: application/json',
'-H', 'X-B3-Flags: 1',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably have a comment that includes some of the PR description in order to make things easier for the reader. It's not a particularly self-explanatory flag.

Copy link
Contributor

@pierrechevalier83 pierrechevalier83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me (and I agree with Stu that a comment would be helpful 😄)

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

Successfully merging this pull request may close these issues.

5 participants