Skip to content

Conversation

@alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Nov 4, 2025

Description

Add a stable before_send_metric option. If no value is specified, the callback falls back onto the existing experimental callback.

Avoid using experimental options before metrics gains more adoption.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner November 4, 2025 14:07
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.95%. Comparing base (7264a9f) to head (ec7cd14).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@ Coverage Diff @@ ## master #5064 +/- ## ========================================== + Coverage 83.94% 83.95% +0.01%  ========================================== Files 179 179 Lines 17904 17922 +18 Branches 3179 3188 +9 ========================================== + Hits 15030 15047 +17  Misses 1902 1902 - Partials 972 973 +1 
Files with missing lines Coverage Δ
sentry_sdk/consts.py 99.40% <ø> (+<0.01%) ⬆️
sentry_sdk/utils.py 86.42% <100.00%> (ø)

... and 2 files with indirect coverage changes

@alexander-alderman-webb alexander-alderman-webb merged commit 5b05589 into master Nov 5, 2025
130 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/move-before-send-metric-out-of-experimental branch November 5, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants