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

Merge baggage headers (incoming and new created ones) #3001

Merged
merged 20 commits into from
Apr 23, 2024

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Apr 22, 2024

If the incoming headers include a baggage header that also includes sentry trace data, use this incoming trace information and merge with other baggage information of the current transaction. (Before it was just concatenating incoming baggage information with the baggage information from the current transaction which lead sometimes to ever growing baggage headers.)

Fixes #2916

@antonpirker antonpirker marked this pull request as ready for review April 22, 2024 14:52
Base automatically changed from fix_wrap_apply_async to sentry-sdk-2.0 April 23, 2024 07:44
@antonpirker antonpirker merged commit 7ef20df into sentry-sdk-2.0 Apr 23, 2024
111 checks passed
@antonpirker antonpirker deleted the antonpirker/merging-baggage-headers branch April 23, 2024 10: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.

2 participants