getsentry / sentry-ruby

Sentry SDK for Ruby
https://sentry.io/for/ruby
MIT License
927 stars 493 forks source link

Use mechanism to track crashed sessions for unhandled exceptions #2281

Closed sl0thentr0py closed 5 months ago

sl0thentr0py commented 5 months ago

part of #1743

codecov[bot] commented 5 months ago

Codecov Report

Merging #2281 (32b5e14) into neel/mechanism (5eb6f42) will increase coverage by 0.03%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## neel/mechanism #2281 +/- ## ================================================== + Coverage 97.62% 97.65% +0.03% ================================================== Files 113 103 -10 Lines 4170 3843 -327 ================================================== - Hits 4071 3753 -318 + Misses 99 90 -9 ``` | [Components](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | Coverage Δ | | |---|---|---| | [sentry-ruby](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `98.28% <100.00%> (-0.04%)` | :arrow_down: | | [sentry-rails](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `95.22% <ø> (ø)` | | | [sentry-sidekiq](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `∅ <ø> (∅)` | | | [sentry-resque](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `90.76% <ø> (ø)` | | | [sentry-delayed_job](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `95.60% <ø> (ø)` | | | [sentry-opentelemetry](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | `∅ <ø> (∅)` | | | [Files](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | Coverage Δ | | |---|---|---| | [sentry-ruby/lib/sentry/hub.rb](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281?src=pr&el=tree&filepath=sentry-ruby%2Flib%2Fsentry%2Fhub.rb&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-c2VudHJ5LXJ1YnkvbGliL3NlbnRyeS9odWIucmI=) | `99.38% <100.00%> (ø)` | | | [sentry-ruby/lib/sentry/session.rb](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281?src=pr&el=tree&filepath=sentry-ruby%2Flib%2Fsentry%2Fsession.rb&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-c2VudHJ5LXJ1YnkvbGliL3NlbnRyeS9zZXNzaW9uLnJi) | `100.00% <100.00%> (ø)` | | ... and [13 files with indirect coverage changes](https://app.codecov.io/gh/getsentry/sentry-ruby/pull/2281/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry)