Commit bd13978c authored by Sean McGivern's avatar Sean McGivern

Merge branch 'add-instrumentation-to-link-to-gfm' into 'master'

Adds link_to_gfm method instrumentation

See merge request !13069
parents b53d6e55 4236c2f0
---
title: Add instrumentation to MarkupHelper#link_to_gfm
merge_request: 13069
author:
...@@ -114,6 +114,9 @@ def instrument_classes(instrumentation) ...@@ -114,6 +114,9 @@ def instrument_classes(instrumentation)
# This is a Rails scope so we have to instrument it manually. # This is a Rails scope so we have to instrument it manually.
instrumentation.instrument_method(Project, :visible_to_user) 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 # Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159
instrumentation.instrument_instance_method(MergeRequestDiff, :load_commits) instrumentation.instrument_instance_method(MergeRequestDiff, :load_commits)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment