gitlab-org--gitlab-foss/lib/gitlab/metrics
Rémy Coutable 892ff3a3ae
Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route
`endpoint.route` is calling `env[Grape::Env::GRAPE_ROUTING_ARGS][:route_info]`
but `env[Grape::Env::GRAPE_ROUTING_ARGS]` is `nil` in the case of a 405 response

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-12 23:15:25 -05:00
..
subscribers
delta.rb
instrumentation.rb Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
method_call.rb Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
metric.rb Tracking of custom events 2016-08-17 10:04:04 +02:00
rack_middleware.rb Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route 2017-01-12 23:15:25 -05:00
sampler.rb
sidekiq_middleware.rb Tracking of custom events 2016-08-17 10:04:04 +02:00
system.rb Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
transaction.rb Tracking of custom events 2016-08-17 10:04:04 +02:00