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

Allows trackingmiddleware to work with both Trace V1 and V2 #318

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

victormn
Copy link
Contributor

Any format in which we receive the trace, whether v1 or v2, we must forward it in both the new and the old format.

If we receive it in both formats, the v2 format will be prioritized.

This enables the migration from trace v1 to trace v2 without breaking compatibility.

Any format in which we receive the trace, whether v1 or v2,
we must forward it in both the new and the old format.

If we receive it in both formats, the v2 format will be
prioritized.

This enables the migration from trace v1 to trace v2
without breaking compatibility.
httpmiddlewares/trackingmiddleware/middleware.go Outdated Show resolved Hide resolved
httpmiddlewares/trackingmiddleware/middleware.go Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Sep 12, 2024

@victormn victormn merged commit 47a4bd6 into master Sep 12, 2024
4 of 6 checks passed
@victormn victormn deleted the feature/trace-tracking-middleware branch September 12, 2024 22:12
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.

2 participants