summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-23 17:36:56 +0000
committerLin Jen-Shin <godfat@godfat.org>2018-07-23 17:36:56 +0000
commite23b966d8dd2a161d3493c0b991c0c2ce43fea75 (patch)
tree5737efea3176a9f0b675ee203305b7cfd0b748c7
parente326e94a273d879f33dcbc1d1d6ba36b6ce91f6e (diff)
parent7db1c1575f45eb4fe1b889a71df4fb9d7ef4bc77 (diff)
downloadgitlab-ce-e23b966d8dd2a161d3493c0b991c0c2ce43fea75.tar.gz
Merge branch 'sh-remove-rouge-redcarpet-instrumentation' into 'master'
Remove instrumentation for Rouge::Plugins::{Redcarpet,CommonMark} See merge request gitlab-org/gitlab-ce!20791
-rw-r--r--config/initializers/8_metrics.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb
index fe37b7710aa..4d8d35bf6cf 100644
--- a/config/initializers/8_metrics.rb
+++ b/config/initializers/8_metrics.rb
@@ -80,8 +80,6 @@ def instrument_classes(instrumentation)
instrumentation.instrument_instance_methods(RepositoryCheck::SingleRepositoryWorker)
- instrumentation.instrument_instance_methods(Rouge::Plugins::CommonMark)
- instrumentation.instrument_instance_methods(Rouge::Plugins::Redcarpet)
instrumentation.instrument_instance_methods(Rouge::Formatters::HTMLGitlab)
[:XML, :HTML].each do |namespace|