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

Only apply SampleRate to errors/messages #754

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Only apply SampleRate to errors/messages #754

merged 1 commit into from
Jan 8, 2024

Conversation

cleptric
Copy link
Member

We should only sample errors/messages. This fixes the SampleRate being applied to check_in as well.

@cleptric cleptric marked this pull request as draft December 18, 2023 20:52
@cleptric cleptric self-assigned this Dec 18, 2023
@greywolve
Copy link
Contributor

@cleptric some tests need to be fixed it seems

@cleptric cleptric marked this pull request as ready for review January 8, 2024 21:06
@cleptric cleptric enabled auto-merge (squash) January 8, 2024 21:06
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fff66d1) 80.97% compared to head (58f2df1) 80.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #754      +/-   ##
==========================================
- Coverage   80.97%   80.88%   -0.09%     
==========================================
  Files          48       48              
  Lines        4714     4714              
==========================================
- Hits         3817     3813       -4     
- Misses        760      763       +3     
- Partials      137      138       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cleptric cleptric merged commit d302d89 into master Jan 8, 2024
17 checks passed
@cleptric cleptric deleted the fix-sampling branch January 8, 2024 21:13
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.

3 participants