diff options
author | Paco Guzman <pacoguzmanp@gmail.com> | 2016-07-04 12:20:57 +0200 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-07-04 12:20:57 +0200 |
commit | 90dc6f1211ab1a9d10c6799d90310dde79581d62 (patch) | |
tree | c54dfe863e4f9dd56ff3b4b59dd892ed3753fcd4 /config | |
parent | 021b6aef94b3398ab5603b4c11afd4c6d8432795 (diff) | |
download | gitlab-ce-90dc6f1211ab1a9d10c6799d90310dde79581d62.tar.gz |
Instrument Rinku usage18593-autofilter-rinku-instrumentation
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/metrics.rb | 2 |
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 |