Module: Airbrake::Rails::HTTP Private

Defined in:
lib/airbrake/rails/http.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Monkey-patch to measure request timing.

Since:

  • v11.0.2

Instance Method Summary collapse

Instance Method Details

#perform(request, options) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • v11.0.2



9
10
11
12
13
# File 'lib/airbrake/rails/http.rb', line 9

def perform(request, options)
  Airbrake::Rack.capture_timing(:http) do
    super(request, options)
  end
end