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

Sample rate override ignored when set to 0 #2321

Open
azaslavsky opened this issue Jun 12, 2024 · 1 comment
Open

Sample rate override ignored when set to 0 #2321

azaslavsky opened this issue Jun 12, 2024 · 1 comment

Comments

@azaslavsky
Copy link

Issue Description

At https://github.com/search?q=repo%3Agetsentry%2Fsentry-ruby+valid_sample_rate&type=code, setting sample_rate to 0 does not work.

Reproduction Steps

This was reported to us by a downstream user of the SDK.

Expected Behavior

One should be able to set the sample rate to 0.

Actual Behavior

The sample rate override is ignored.

Ruby Version

--

SDK Version

--

Integration and Its Version

No response

Sentry Config

No response

@bauffman
Copy link

We're having the same issue over here. We're using ruby 3.1.5 and the latest versions of the sentry gems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

3 participants