How to listen to Rails events ruby

How to listen to Rails events

ActiveSupport::Notifications lets you listen to Rails events like transaction.active_record without extra gems. How the instrumentation API works, subscribing to built-in Rails events, and publishing your own custom events for better observability.

Nov 18, 2024