-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Allow 0.0 to be set on tracesSampleRate. #1328
Conversation
The question is what's the point of having |
@maciejwalkowiak that was the point. @bruno-garcia to confirm but if I understood correctly means:
|
missing @tests and changelog, let's wait @bruno-garcia to confirm though |
@bruno-garcia thats all we need right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the note from @marandaneto LGTM.
As Manoel already wrote on this PR: null
means no transactions should be emitted.
But 0.0 means no chance of random sampling creating transactions, but if an incoming request is sampled, the SDK will honor that decision.
Looks like we're missing docs too: https://docs.sentry.io/platforms/java/configuration/filtering/#using-sampling-to-filter-transaction-events |
@bruno-garcia docs updated: getsentry/sentry-docs#3277 Disabling performance feature when tracesSampleRate is null will come in subsequent PR. |
📜 Description
Allow 0.0 to be set on tracesSampleRate.
💡 Motivation and Context
Fixes #1326.
💚 How did you test it?
📝 Checklist