module Airbrake::Rack::Instrumentable

def airbrake_capture_timing(method_name, label: method_name.to_s)

def airbrake_capture_timing(method_name, label: method_name.to_s)
  instrumentable = ::Airbrake::Rack::Instrumentable
  if instrumentable.should_prepend?(self, method_name)
    instrumentable.prepend_capture_timing(self, method_name, label)
  else
    instrumentable.chain_capture_timing(self, method_name, label)
  end
  method_name
end