Jun 21, 2024
Report Sidekiq job errors only on job discard
Ruby3.9.0
Added
- Report Sidekiq errors when a job is dead/discarded. Configure the new
sidekiq_report_errors
config option to "discard" to only report errors when the job is not retried further.
Changed
- Improve instrumentation for mounted Sinatra apps in Rails apps. The sample reported for the Sinatra request will now include the time spent in Rails and its middleware.
- Support apps that have multiple Appsignal::Rack::EventHandler-s in the middleware stack.
- Improve support for instrumentation of nested pure Rack and Sinatra apps. It will now report more of the request's duration and events. This also improves support for apps that have multiple Rack GenericInstrumentation or SinatraInstrumentation middlewares.
Fixed
- Fix issue with AppSignal getting stuck in a boot loop when loading the Sinatra integration with:
require "appsignal/integrations/sinatra"
This could happen in nested applications, like a Sinatra app in a Rails app. It will now use the first config AppSignal starts with.
View the Ruby gem v3.9.0 changelog for more information.