Raven Ruby v4.6.0 Release Notes
-
๐ Features
- โ Add
sentry-resque
#1476 - โ Add tracing support to
sentry-resque
#1480 - ๐ Set user to the current scope via sidekiq middleware #1469
- โ Add tracing support to
sentry-delayed_job
#1482
IMPORTANT
If your application processes a large number of background jobs and has tracing enabled, it is recommended to check your
traces_sampler
(or switch totraces_sampler
) and give the background job operations a smaller rate:Sentry.init do |config| config.traces_sampler = lambda do |sampling_context| transaction_context = sampling_context[:transaction_context] op = transaction_context[:op] case op when /request/ # sampling for requests 0.1 when /delayed_job/ # or resque 0.001 # adjust this value else 0.0 # ignore all other transactions end end end
๐ท This is to prevent the background job tracing consumes too much of your transaction quota.
๐ Bug Fixes
- โ Add