Skip to content

Deprecate config.metrics and Sentry::Metrics

5c96b67
Select commit
Loading
Failed to load commit list.
Closed

Deprecate config.metrics and Sentry::Metrics #2539

Deprecate config.metrics and Sentry::Metrics
5c96b67
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 7, 2025 in 1s

71.74% (+2.33%) compared to b5a4948

View this Pull Request on Codecov

71.74% (+2.33%) compared to b5a4948

Details

Codecov Report

Attention: Patch coverage is 50.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 71.74%. Comparing base (b5a4948) to head (5c96b67).
Report is 88 commits behind head on master.

Files with missing lines Patch % Lines
sentry-ruby/lib/sentry/cron/monitor_check_ins.rb 0.00% 3 Missing ⚠️
sentry-ruby/lib/sentry/metrics.rb 25.00% 3 Missing ⚠️
sentry-ruby/lib/sentry/metrics/configuration.rb 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2539      +/-   ##
==========================================
+ Coverage   69.40%   71.74%   +2.33%     
==========================================
  Files         126      118       -8     
  Lines        4723     4427     -296     
==========================================
- Hits         3278     3176     -102     
+ Misses       1445     1251     -194     
Components Coverage Δ
sentry-ruby 66.98% <50.00%> (+5.03%) ⬆️
sentry-rails 73.28% <ø> (-14.66%) ⬇️
sentry-sidekiq 95.52% <ø> (+3.50%) ⬆️
sentry-resque 98.83% <ø> (+3.23%) ⬆️
sentry-delayed_job 87.87% <ø> (+36.07%) ⬆️
sentry-opentelemetry ∅ <ø> (∅)
Files with missing lines Coverage Δ
sentry-ruby/lib/sentry-ruby.rb 68.49% <100.00%> (+0.78%) ⬆️
sentry-ruby/lib/sentry/configuration.rb 85.86% <100.00%> (ø)
sentry-ruby/lib/sentry/envelope/item.rb 46.93% <ø> (+12.93%) ⬆️
...y-ruby/lib/sentry/interfaces/stacktrace_builder.rb 100.00% <ø> (+8.82%) ⬆️
sentry-ruby/lib/sentry/span.rb 86.36% <ø> (+0.03%) ⬆️
sentry-ruby/lib/sentry/transaction_event.rb 80.55% <ø> (+1.60%) ⬆️
sentry-ruby/lib/sentry/metrics/configuration.rb 88.88% <80.00%> (+4.27%) ⬆️
sentry-ruby/lib/sentry/cron/monitor_check_ins.rb 28.94% <0.00%> (ø)
sentry-ruby/lib/sentry/metrics.rb 57.14% <25.00%> (-1.69%) ⬇️

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.