diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-09-01 09:08:30 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-09-01 09:08:30 +0000 |
commit | 5dd157be16c04850279373123d9dba4377a9f852 (patch) | |
tree | c296a28300c9517ca2d6ec50300a922425b13f78 /config | |
parent | d550aefe16f8eebe2d6d6b818c28351b5bb755fe (diff) | |
parent | 658e89a8b70b4b60581fe9fa26a1a0adb04c8039 (diff) | |
download | gitlab-ce-5dd157be16c04850279373123d9dba4377a9f852.tar.gz |
Merge branch '36061-mr-ref-instrument' into 'master'
Instrument MergeRequest#fetch_ref
See merge request !13980
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/8_metrics.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb index 370a976b64a..5b455a8065a 100644 --- a/config/initializers/8_metrics.rb +++ b/config/initializers/8_metrics.rb @@ -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 |