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

Translate Spring 6 HTTP spans to Stackdriver convention #229

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

shakuzen
Copy link
Member

From Spring Cloud Sleuth to Spring Framework 6, the tags on HTTP spans produced changed. This updates the SpanTranslator to handle the Spring 6 tags.

Resolves #228

From Spring Cloud Sleuth to Spring Framework 6, the tags on HTTP spans changed. This updates the SpanTranslator to handle the Spring 6 tags.
@shakuzen shakuzen force-pushed the spring6-http-brave-translation branch from b1eb627 to 56a55ce Compare November 28, 2024 09:02
@shakuzen
Copy link
Member Author

I only applied these changes to the SpanTranslator in encoder-stackdriver-brave, but perhaps they should also be applied to the other encoder too.

Applies the logic necessary for translating Spring 6 made Zipkin spans to Stackdriver spans with the conventional Stackdriver attribute naming.
@shakuzen shakuzen force-pushed the spring6-http-brave-translation branch from b0a684e to 8ee1005 Compare November 29, 2024 01:41
@shakuzen
Copy link
Member Author

I've added the same logic to the zipkin span translator. @reta would you have any spare time to review?

@shakuzen shakuzen merged commit da379fc into openzipkin:master Dec 2, 2024
3 checks passed
@shakuzen shakuzen deleted the spring6-http-brave-translation branch December 2, 2024 00:48
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.

Spring 6 labels not translated correctly in SpanTranslator
3 participants