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 sampling decision when parent is sampled #1407

Merged
merged 4 commits into from
Oct 19, 2022
Merged

Conversation

stayallive
Copy link
Collaborator

The current sampling decision always set the transaction to not sampled if sampling is disabled in the SDK not taking in account the parent sampling decision which is considered a bug.

This resolved that by also looking at the parent sampling decision when starting a transaction.

Fixes #1405.

Copy link
Member

@cleptric cleptric left a comment

Choose a reason for hiding this comment

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

Changelog and 🚀

@cleptric cleptric merged commit 5a31bab into master Oct 19, 2022
@cleptric cleptric deleted the fix-sampling-decision branch October 19, 2022 09:04
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.

Hub::startTransaction ignores sentry-trace sampling decision
2 participants