Sha256: 5d7b591712ecc1fd0a9c6a0ad94932a4e4350169b5082e3e51f779fd10f59084
Contents?: true
Size: 464 Bytes
Versions: 17
Compression:
Stored size: 464 Bytes
Contents
require 'airbrake/rails/event' module Airbrake module Rails # @api private # @since v9.2.0 class Excon def call(*args) routes = Airbrake::Rack::RequestStore[:routes] return if !routes || routes.none? event = Airbrake::Rails::Event.new(*args) routes.each do |_route_path, params| params[:groups][:http] ||= 0 params[:groups][:http] += event.duration end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems