Bump sentry-sidekiq from 5.8.0 to 5.9.0
Bumps sentry-sidekiq from 5.8.0 to 5.9.0.
Changelog
Sourced from sentry-sidekiq's changelog.
5.9.0
Features
Add new boolean option
config.enable_tracing
to simplify enabling performance tracing #2005
config.enable_tracing = true
will settraces_sample_rate
to1.0
if not set alreadyconfig.enable_tracing = false
will turn off tracing even iftraces_sample_rate/traces_sampler
is setconfig.enable_tracing = nil
(default) will keep the current behaviourAllow ignoring
excluded_exceptions
when manually capturing exceptions #2007Users can now ignore the SDK's
excluded_exceptions
by passingignore_exclusions
hint when usingSentry.capture_exception
.# assume ignored_exception.class is included in config.excluded_exception Sentry.capture_exception(ignored_exception) # won't be sent to Sentry Sentry.capture_exception(ignored_exception, hint: { ignore_exclusions: true }) # will be sent to Sentry
Support capturing low-level errors propagated to Puma #2026
Add
spec
toBacktrace::APP_DIRS_PATTERN
#2029Forward all
baggage
header items that are prefixed withsentry-
#2025Add
stackprof
based profiler #2024The SDK now supports sending profiles taken by the
stackprof
gem and viewing them in the Profiling section.To use it, first add
stackprof
to yourGemfile
and make sure it is loaded beforesentry-ruby
.# Gemfile gem 'stackprof' gem 'sentry-ruby'
Then, make sure both
traces_sample_rate
andprofiles_sample_rate
are set and non-zero in your sentry initializer.# config/initializers/sentry.rb Sentry.init do |config| config.dsn = "<dsn>" config.traces_sample_rate = 1.0 config.profiles_sample_rate = 1.0 end
Some implementation caveats:
- Profiles are sampled relative to traces, so if both rates are 0.5, we will capture 0.25 of all requests.
- Profiles are only captured for code running within a transaction.
- Profiles for multi-threaded servers like
puma
might not capture frames correctly when async I/O is happening. This is astackprof
limitation.
... (truncated)
Commits
-
6f1b9ad
release: 5.9.0 -
78a4cb7
Changelog for 5.9.0 (#2034) -
d63b77a
Support capturing low-level errors propagated to Puma (#2026) -
7fd714e
Add stackprof based profiler (#2024) -
bad263c
Add spec to Backtrace::APP_DIRS_PATTERN (#2029) -
d45f720
Allow Sentry.register_patch to take patch and target directly (#2028) -
4275d29
Improve Rails 7 example app (#2027) -
9a967d2
ref: Forward all sentry- baggage items (#2025) -
00ba859
Tweak #2007 and add changelog for it (#2023) -
1a2d682
Allow ignoring excluded_exceptions when manually capturing exceptions (#2007) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts