Commit Graph

6 Commits

Author SHA1 Message Date
Lin Jen-Shin b921b2d1fb Merge branch 'rs-zz-metrics' into 'master'
Add EE-only class instrumentation

See merge request gitlab-org/gitlab-ce!30802
2019-07-17 17:48:33 +00:00
Sarah Yasonik cea7ba513c Rename Redactor classes to ReferenceRedactor 2019-07-16 20:19:08 +00:00
Robert Speicher 355330dd1e
Add EE-only class instrumentation 2019-07-16 13:04:35 -05:00
Stan Hu b397ad8a69 Disable method instrumentation for diffs
When there a large number of discussions on diffs, the instrumentation
has a significant impact on performance since it's often run in a tight
loop for line position calculation etc. We should disable this since
there are other ways to benchmark performance.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52898
2019-04-10 12:06:07 -07:00
Peter Leitzen 1931c3efc9
Fix error when reloading code in Sidekiq
This commit fixes the following error in development:

    ArgumentError: A copy of Gitlab::Metrics::Transaction has been
    removed from the module tree but is still active!
2019-02-10 11:36:23 +01:00
Lin Jen-Shin 77b8c2c176 Always load the metrics the last
Because this could potentially load a model and we shouldn't
load models before all the patches we have in places.
2018-12-21 00:53:45 +08:00