summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-07-04 12:20:57 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-04 12:20:57 +0200
commit90dc6f1211ab1a9d10c6799d90310dde79581d62 (patch)
treec54dfe863e4f9dd56ff3b4b59dd892ed3753fcd4 /config
parent021b6aef94b3398ab5603b4c11afd4c6d8432795 (diff)
downloadgitlab-ce-90dc6f1211ab1a9d10c6799d90310dde79581d62.tar.gz
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 44601f2b2bd..c4266ab8ba5 100644
--- a/config/initializers/metrics.rb
+++ b/config/initializers/metrics.rb
@@ -135,6 +135,8 @@ if Gitlab::Metrics.enabled?
config.instrument_instance_methods(Rouge::Plugins::Redcarpet)
config.instrument_instance_methods(Rouge::Formatters::HTMLGitlab)
+
+ config.instrument_methods(Rinku)
end
GC::Profiler.enable