Module: Airbrake::Rails::NetHttp Private
- Defined in:
- lib/airbrake/rails/net_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 Net::HTTP to benchmark it.
Instance Method Summary collapse
Instance Method Details
#request(request, *args, &block) ⇒ 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.
9 10 11 12 13 |
# File 'lib/airbrake/rails/net_http.rb', line 9 def request(request, *args, &block) Airbrake::Rack.capture_timing(:http) do super(request, *args, &block) end end |