BigW Consortium Gitlab

Commit 484ddab9 by Sean McGivern Committed by Simon Knox

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

Adds link_to_gfm method instrumentation See merge request !13069
parent 58a476c8
---
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