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
method_call.rb
metric.rb
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
system.rb
transaction.rb