Releases: getsentry/sentry-ruby
Releases Β· getsentry/sentry-ruby
4.7.0
Features
- Add
monotonic_active_support_logger
#1531 - Support after-retry reporting to
sentry-sidekiq
#1532 - Generate Security Header Endpoint with
Sentry.csp_report_uri
from dsn #1507 - Allow passing backtrace into
Sentry.capture_message
#1550
Bug Fixes
- Check sentry-rails before injecting ActiveJob skippable adapters #1544
- Fixes #1541
- Don't apply Scope's transaction name if it's empty #1546
- Fixes #1540
- Don't start
Sentry::SendEventJob
's transaction #1547- Fixes #1539
- Don't record breadcrumbs in disabled environments #1549
- Scrub header values with invalid encoding #1552
- Fixes #1551
- Fix mismatched license info. New SDK gems' gemspecs specified
APACHE-2.0
while theirLICENSE.txt
wasMIT
. Now they both areMIT
.
4.6.5
4.6.4
4.6.3
4.6.2
- Declare
resque
assentry-resque
's dependency #1503- Fixes #1502
- Declare
delayed_job
andsidekiq
as integration gem's dependency #1506 DSN#server
shouldn't include path #1505- Fix
sentry-rails
'backtrace_cleanup_callback
injection #1510 - Disable background worker when executing rake tasks #1509
- Fixes #1508
4.6.1
4.6.0
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 to traces_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
4.6.0-beta.0
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 to traces_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.