Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

JoshuaMoelans
Copy link
Member

fixes #1345

Copy link
Collaborator

@jpnurmi jpnurmi left a comment

Choose a reason for hiding this comment

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

Thanks on behalf of downstream SDKs! :) This looks good, no need to inject internal values into the user's sampling context.

@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review September 1, 2025 13:47
Copy link
Collaborator

@jpnurmi jpnurmi left a comment

Choose a reason for hiding this comment

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

The changes look good. I hope @supervacuus is ok with the break.

@JoshuaMoelans
Copy link
Member Author

(this would become part of the same release that includes the first Logs implementation for native, so I think bundling this in as a breaking change for native 0.11.0 is fine)

Copy link
Collaborator

@supervacuus supervacuus left a comment

Choose a reason for hiding this comment

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

Yes, I am not happy that we have to break here, and I would argue that a second option setter + callback type is fine here.

However, the API is marked as experimental, very new, and having two just for the sampler is probably more confusing. So, whiny LGTM.

@JoshuaMoelans JoshuaMoelans merged commit 89e25d4 into master Sep 11, 2025
40 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/feat/traces_sampler_user_data branch September 11, 2025 12:51
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.

sentry_options_set_traces_sampler is missing a user data argument
3 participants