BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
484ddab9
Commit
484ddab9
authored
Jul 25, 2017
by
Sean McGivern
Committed by
Simon Knox
Jul 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'add-instrumentation-to-link-to-gfm' into 'master'
Adds link_to_gfm method instrumentation See merge request !13069
parent
58a476c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
add-instrumentation-to-link-to-gfm.yml
changelogs/unreleased/add-instrumentation-to-link-to-gfm.yml
+4
-0
8_metrics.rb
config/initializers/8_metrics.rb
+3
-0
No files found.
changelogs/unreleased/add-instrumentation-to-link-to-gfm.yml
0 → 100644
View file @
484ddab9
---
title
:
Add instrumentation to MarkupHelper#link_to_gfm
merge_request
:
13069
author
:
config/initializers/8_metrics.rb
View file @
484ddab9
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment