module Elastics::Instrumentation::ActiveSupport
Public Class Methods
install()
click to toggle source
# File lib/elastics/instrumentation/active_support.rb, line 9 def install if Client.respond_to?(:prepend) Client.prepend self else Client.send :include, Ruby19Fallback end LogSubscriber.attach_to :elastics end
Public Instance Methods
http_request(*args)
click to toggle source
Calls superclass method
# File lib/elastics/instrumentation/active_support.rb, line 19 def http_request(*args) ::ActiveSupport::Notifications.instrument 'http_request.elastics', args: args do super end end