module RSpec::Buildkite::Analytics::Network::HTTPPatch

Public Instance Methods

perform(request, options) click to toggle source
Calls superclass method
# File lib/rspec/buildkite/analytics/network.rb, line 34
def perform(request, options)
  detail = { method: request.verb.to_s.upcase, url: request.uri.to_s, lib: "http" }

  http_tracer = RSpec::Buildkite::Analytics::Uploader.tracer
  http_tracer&.enter("http", **detail)

  super
ensure
  http_tracer&.leave
end