Sha256: c5d26a3af33d1a06007755d84373d995581513dbafacb12f04591ad81d0abe35
Contents?: true
Size: 273 Bytes
Versions: 17
Compression:
Stored size: 273 Bytes
Contents
# Monkey-patch Net::HTTP to benchmark it. Net::HTTP.class_eval do alias_method :request_without_airbrake, :request def request(request, *args, &block) Airbrake::Rack.capture_timing(:http) do request_without_airbrake(request, *args, &block) end end end
Version data entries
17 entries across 17 versions & 1 rubygems