class

ActiveSupport::Notifications::InstrumentationRegistry

v4.2.9 - Show latest stable - Superclass: Object

This class is a registry which holds all of the Instrumenter objects in a particular thread local. To access the Instrumenter object for a particular notifier, you can call the following method:

InstrumentationRegistry.instrumenter_for(notifier)

The instrumenters for multiple notifiers are held in a single instance of this class.

Files

  • activesupport/lib/active_support/notifications.rb