Skip to content

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

Merged
antonpirker merged 20 commits into
sentry-sdk-2.0from
antonpirker/merging-baggage-headers
Apr 23, 2024
Merged

Merge baggage headers (incoming and new created ones)#3001
antonpirker merged 20 commits into
sentry-sdk-2.0from
antonpirker/merging-baggage-headers

Conversation

@antonpirker

@antonpirker antonpirker commented Apr 22, 2024

Copy link
Copy Markdown
Contributor

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
@antonpirker
antonpirker requested a review from sentrivana April 22, 2024 14:59
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
@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