Module: Elastics::ActiveRecord::Instrumentation::Fallback

Extended by:
ActiveSupport::Concern
Defined in:
lib/elastics/active_record/instrumentation.rb

Overview

old rubies support

Instance Method Summary collapse

Instance Method Details

#http_request_with_instrumentation(*args) ⇒ Object



32
33
34
35
36
# File 'lib/elastics/active_record/instrumentation.rb', line 32

def http_request_with_instrumentation(*args)
  ActiveSupport::Notifications.instrument 'request_elastics.active_record', args: args do
    http_request_without_instrumentation(*args)
  end
end