Module: Appsignal::Integrations::NetHttpIntegration Private
- Defined in:
- lib/appsignal/integrations/net_http.rb
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.
Instance Method Summary collapse
Instance Method Details
#request(request, body = nil, &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.
7 8 9 10 11 12 13 14 |
# File 'lib/appsignal/integrations/net_http.rb', line 7 def request(request, body = nil, &block) Appsignal.instrument( "request.net_http", "#{request.method} #{use_ssl? ? "https" : "http"}://#{request["host"] || address}" ) do super end end |