Name |
Last commit
|
Last update |
---|---|---|
.. | ||
subscribers | Loading commit data... | |
delta_spec.rb | ||
instrumentation_spec.rb | ||
metric_spec.rb | ||
rack_middleware_spec.rb | ||
sampler_spec.rb | ||
sidekiq_middleware_spec.rb | ||
system_spec.rb | ||
transaction_spec.rb |
BigW Consortium Gitlab
This ensures that an instrumented method that doesn't take arguments reports an arity of 0, instead of -1. If Ruby had a proper method for finding out the required arguments of a method (e.g. Method#required_arguments) this would not have been an issue. Sadly the only two methods we have are Method#parameters and Method#arity, and both are equally painful to use. Fixes gitlab-org/gitlab-ce#12450
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
subscribers | Loading commit data... | |
delta_spec.rb | Loading commit data... | |
instrumentation_spec.rb | Loading commit data... | |
metric_spec.rb | Loading commit data... | |
rack_middleware_spec.rb | Loading commit data... | |
sampler_spec.rb | Loading commit data... | |
sidekiq_middleware_spec.rb | Loading commit data... | |
system_spec.rb | Loading commit data... | |
transaction_spec.rb | Loading commit data... |