diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-07-25 10:46:01 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-07-25 10:51:21 +0100 |
commit | 4236c2f055000ae9eadc165eea6355cf4825d595 (patch) | |
tree | e83447aac294e15a8089c81a3145516e21a225f7 /config | |
parent | ea6dfcad9fdb2c673c1074c6d99ff1cca42d680a (diff) | |
download | gitlab-ce-4236c2f055000ae9eadc165eea6355cf4825d595.tar.gz |
Adds link_to_gfm method instrumentationadd-instrumentation-to-link-to-gfm
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/8_metrics.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb index 25630b298ce..2aeb94d47cd 100644 --- a/config/initializers/8_metrics.rb +++ b/config/initializers/8_metrics.rb @@ -114,6 +114,9 @@ def instrument_classes(instrumentation) # This is a Rails scope so we have to instrument it manually. instrumentation.instrument_method(Project, :visible_to_user) + # Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/34509 + instrumentation.instrument_method(MarkupHelper, :link_to_gfm) + # Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159 instrumentation.instrument_instance_method(MergeRequestDiff, :load_commits) end |