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

fix(zipkin): jaeger header validation #8352

Merged
merged 4 commits into from
Feb 24, 2022
Merged

Conversation

shettyh
Copy link
Contributor

@shettyh shettyh commented Jan 28, 2022

Summary

With the latest spec of uber-trace-id, parent_id is not mandatory. Because of this zipkin plugin validation is failing if the parent_id is sent as 0 and it is recreating the header with new trace_id. This results in not propagating the downstream context to upstream services.

@CLAassistant
Copy link

CLAassistant commented Jan 28, 2022

CLA assistant check
All committers have signed the CLA.

@shettyh shettyh marked this pull request as ready for review January 28, 2022 11:15
@hbagdi hbagdi requested a review from kikito January 31, 2022 22:52
Copy link
Contributor

@mayocream mayocream left a comment

Choose a reason for hiding this comment

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

LGTM!

@mayocream
Copy link
Contributor

@shettyh can you fix the failing tests? Try to run make lint locally.

@shettyh
Copy link
Contributor Author

shettyh commented Feb 7, 2022

@mayocream one of the integration test is failing, but i dont think it is related to this PR. Please check

Copy link
Contributor

@mayocream mayocream left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM! @kikito can you take another look at this?

@mayocream mayocream self-assigned this Feb 9, 2022
@kikito kikito merged commit ea42da5 into Kong:master Feb 24, 2022
@kikito
Copy link
Member

kikito commented Feb 24, 2022

Hello, I just approved this. Unfortunately it didn't make the cut for the 2.8 release, but should be included on the next one.

@shettyh shettyh deleted the jaeger_header_fix branch February 25, 2022 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants