Repository navigation
feat: Window sample all metrics with metrics_target_per_second=True - #8428
Open
alexander-alderman-webb wants to merge 8 commits into
Open
alexander-alderman-webb wants to merge 8 commits into
alexander-alderman-webb wants to merge 8 commits into
Conversation
Contributor
PR risk: mediumFor commit Main concerns: data sent to Sentry, public contract, reach. Rules that block low also fired:
This label is a hint for reviewers, not an approval. |
Contributor
Coverage Results 📊✅ 59873 passed | ⏭️ 3119 skipped | Total: 62992 | Pass Rate: 95.05% | Execution Time: 161m 44s 📊 Comparison with Base Branch
➖ Removed Tests (1)View removed tests
All tests are passing successfully. ✅ Patch coverage is 86.67% (26 of 30 changed executable lines covered; target 80%). Changed files with executable lines (3)
Coverage diff@@ Coverage Diff @@
## master #8428 +/-##
==========================================
- Coverage 90.18% 90.11% -0.07%
==========================================
Files 201 202 +1
Tracked lines 22184 22520 +336
Branches 7772 7894 +122
==========================================
+ Hits 20005 20292 +287
- Misses 2179 2228 +49
- Partials 1282 1307 +25Generated by Coverage Action |
alexander-alderman-webb
marked this pull request as ready for review
December 1, 2026 09:30
…econd # Conflicts: # sentry_sdk/_lock_free_metrics_batcher.py
sentrivana
approved these changes
Dec 1, 2026
6 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setting
metrics_target_per_second=Truesends at most two metrics per name every 5 seconds: one from inside sampled spans and one from everywhere else.