Features
- Add
Sentry.with_child_span
for easier span recording #1783
operation_result = Sentry.with_child_span(op: "my op") do |child_span|
my_operation
end
# the "my op" span will be attached to the result of Sentry.get_current_scope.get_span
# which could be either the top-level transaction, or a span set by the user or other integrations
Bug Fixes
- Set
last_event_id
only for error events #1767- Fixes #1766
- Add
config.rails.register_error_subscriber
to control error reporter integration #1771 - Check if ActiveRecord connection exists before calling AR connection pool #1769
- Fixes #1745
- Fix
sentry-rails
's tracing spans not nesting issue - #1784- Fixes #1723
- Update
config.transport.proxy
to allow String and URI values as previously supported bysentry-ruby
versions <= 4.8 using Faraday- Fixes #1782
- Register SentryContextClientMiddleware on sidekiq workers #1774
- Add request env to sampling context when using
sentry-rails
#1792- Fixes #1791
- Fix net-http tracing's span nesting issue #1796
Refactoring
- Correct inaccurate event model relationships #1777
Miscellaneous
- Log message when shutting down/killing SDK managed components #1779