class

ActiveSupport::Notifications::InstrumentationRegistry

rails latest stable - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

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