class method
self.null_instrumenter
Ruby on Rails edge
Since edgeSignature
self.null_instrumenter()
Returns a singleton no-op instrumenter that executes blocks without publishing any notifications. Useful for suppressing instrumentation on specific connections or components.
Source
# File activesupport/lib/active_support/notifications.rb, line 258
def null_instrumenter
@null_instrumenter ||= NullInstrumenter.new
end
Defined in activesupport/lib/active_support/notifications.rb line 258
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications