Jun 17, 2024
Improved Rails request instrumentation
Ruby3.8.0
Changed
- Report the time spent in Rails middleware as part of the request duration. The AppSignal Rack middleware is now higher in the middleware stack and reports more time of the request to give insights in how long other middleware took. This is reported under the new
process_request.rack
event in the event timeline.
Fixed
-
Fix ArgumentError being raised on Ruby logger and Rails.logger error calls. This fixes the error from being raised from within the AppSignal Ruby gem. Please do not use this for error reporting. We recommend using our error reporting feature instead to be notified of new errors. Read more on exception handling in Ruby with our Ruby gem.
Ruby# No longer raises an error Rails.logger.error StandardError.new("StandardError log message")
View the Ruby gem v3.8.0 changelog for more information.