Sha256: c3d1f29b1de095b44a3c7784a441078bd120f0c17469b48e5e24d0eb727e1d67
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations module HttpIntegration def request(verb, uri, opts = {}) parsed_request_uri = URI.parse(uri) request_uri = "#{parsed_request_uri.scheme}://#{parsed_request_uri.host}" begin Appsignal.instrument("request.http_rb", "#{verb.upcase} #{request_uri}") do super end rescue Exception => error # rubocop:disable Lint/RescueException Appsignal.set_error(error) raise error end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appsignal-3.2.0-java | lib/appsignal/integrations/http.rb |
appsignal-3.2.0 | lib/appsignal/integrations/http.rb |