diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-21 14:16:25 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-26 22:50:20 +0300 |
commit | 794cd87bbba2ab4126d74d8384dc57a1860f0684 (patch) | |
tree | 953ff98e7d5b073d204a127f69e432a94430f4c7 | |
parent | 40b670f12a6b34596282ae01854809b1bbb5d2b4 (diff) |
Merge branch 'instrument-gitlab-git-repository' into 'master'
Instrument Gitlab::Git::Repository
See merge request !2528
-rw-r--r-- | config/initializers/metrics.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb index 52ace27b7ae..4bc6d35abfd 100644 --- a/config/initializers/metrics.rb +++ b/config/initializers/metrics.rb @@ -49,6 +49,7 @@ if Gitlab::Metrics.enabled? config.instrument_instance_methods(Gitlab::Shell) config.instrument_methods(Gitlab::Git) + config.instrument_instance_methods(Gitlab::Git::Repository) Gitlab::Git.constants.each do |name| const = Gitlab::Git.const_get(name) |