Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Describe Rails subscriber implementation
The agent uses a non-traditional way to subscribe to Rails events. Instead of passing a block to ActiveSupport::Notifications.subscribe, the agent defines a #start and #finish method, which Rails responds to. This is due to a threading issue discovered on initial instrumentation. Issue: rails/rails#12069 Rails code: https://github.com/rails/rails/blob/ed5af004598fa7645fec2210453cca00f4b59168/activesupport/lib/active_support/notifications/fanout.rb#L320
- Loading branch information