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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Clarify SampleRate documentation #279

Merged
merged 1 commit into from Oct 16, 2020
Merged

doc: Clarify SampleRate documentation #279

merged 1 commit into from Oct 16, 2020

Conversation

rhcarvalho
Copy link
Contributor

Trying to write down what the current behavior is. This is going to be weird when TracesSampleRate will default to zero.

Alternatively, we could solve this with the functional options pattern overcoming the default value not matching the Go zero value for the type, but that would require a breaking API change right at sentry.Init 馃

@rhcarvalho rhcarvalho merged commit e238e27 into master Oct 16, 2020
@rhcarvalho rhcarvalho deleted the sample-rate branch October 16, 2020 11:43
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.

None yet

2 participants