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
658e89a8
Commit
658e89a8
authored
Sep 01, 2017
by
Jarka Kadlecova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instrument MergeRequest#fetch_ref
parent
edd56aea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
36061-mr-ref-instrument.yml
changelogs/unreleased/36061-mr-ref-instrument.yml
+5
-0
8_metrics.rb
config/initializers/8_metrics.rb
+1
-0
No files found.
changelogs/unreleased/36061-mr-ref-instrument.yml
0 → 100644
View file @
658e89a8
---
title
:
Instrument MergeRequest#fetch_ref
merge_request
:
author
:
type
:
other
config/initializers/8_metrics.rb
View file @
658e89a8
...
...
@@ -122,6 +122,7 @@ def instrument_classes(instrumentation)
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
instrumentation
.
instrument_instance_method
(
MergeRequest
,
:ensure_ref_fetched
)
instrumentation
.
instrument_instance_method
(
MergeRequest
,
:fetch_ref
)
end
# rubocop:enable Metrics/AbcSize
...
...
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