diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-06-14 14:28:40 +0000 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-06-14 14:28:40 +0000 |
commit | f558bf0de4d040dd824136b07d60af7eebef0084 (patch) | |
tree | fcdf53ffdbe96f835382d7dc6b147936afd3baea /config | |
parent | d4cd6dcaa024f8eca9089e67fb9b97022696d3e0 (diff) | |
parent | dadc531353bdf0e384d05d173d19756b0d9fba13 (diff) | |
download | gitlab-ce-f558bf0de4d040dd824136b07d60af7eebef0084.tar.gz |
Merge branch '18527-instrument-private-methods' into 'master'
Instrument private methods and instance private methods
See merge request !4639
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/metrics.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb index f6509ee43f1..989404c6a61 100644 --- a/config/initializers/metrics.rb +++ b/config/initializers/metrics.rb @@ -128,11 +128,6 @@ if Gitlab::Metrics.enabled? config.instrument_instance_methods(API::Helpers) config.instrument_instance_methods(RepositoryCheck::SingleRepositoryWorker) - # Iterate over each non-super private instance method to keep up to date if - # internals change - RepositoryCheck::SingleRepositoryWorker.private_instance_methods(false).each do |method| - config.instrument_instance_method(RepositoryCheck::SingleRepositoryWorker, method) - end end GC::Profiler.enable |