fix: Add hard limit to metrics batcher #5068
Merged
Codecov / codecov/project
succeeded
Nov 5, 2025 in 0s
83.97% (+0.04%) compared to 6a76cc5
View this Pull Request on Codecov
83.97% (+0.04%) compared to 6a76cc5
Details
Codecov Report
❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.97%. Comparing base (6a76cc5) to head (b6be967).
✅ All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| sentry_sdk/client.py | 50.00% | 2 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #5068 +/- ##
==========================================
+ Coverage 83.93% 83.97% +0.04%
==========================================
Files 179 179
Lines 17928 17943 +15
Branches 3190 3192 +2
==========================================
+ Hits 15047 15067 +20
+ Misses 1909 1905 -4
+ Partials 972 971 -1 | Files with missing lines | Coverage Δ | |
|---|---|---|
| sentry_sdk/_metrics_batcher.py | 73.86% <100.00%> (+3.98%) |
⬆️ |
| sentry_sdk/client.py | 83.80% <50.00%> (-0.30%) |
⬇️ |
Loading