summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-18 12:29:50 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-18 12:29:50 -0500
commit2bea20b8ef4bb4c0577bfe68bb77f96958e164d2 (patch)
tree0ca455b6831cae78c7cb3f5aba534c40cea2b5ec /config
parent98a7486ba76eb7235174b4b6f74794c664df29da (diff)
parent28eea9bdfd0b28ad044f76bd4fcf988329ca9921 (diff)
downloadgitlab-ce-2bea20b8ef4bb4c0577bfe68bb77f96958e164d2.tar.gz
Merge branch 'master' into docker-registry-viewdocker-registry-view
Diffstat (limited to 'config')
-rw-r--r--config/initializers/metrics.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb
index b2d08d87bac..2338916e9da 100644
--- a/config/initializers/metrics.rb
+++ b/config/initializers/metrics.rb
@@ -118,6 +118,8 @@ if Gitlab::Metrics.enabled?
# Instrument the classes used for checking if somebody has push access.
config.instrument_instance_methods(Gitlab::GitAccess)
config.instrument_instance_methods(Gitlab::GitAccessWiki)
+
+ config.instrument_instance_methods(API::Helpers)
end
GC::Profiler.enable