diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-21 11:16:25 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-21 11:16:25 +0000 |
commit | 268fb004c9917dfcbd4451354e4859ddff44005e (patch) | |
tree | b5533f7998e9449931a7451bffa4488d359c62c0 | |
parent | 54729d2c28c7e612cafbf81d980f274f6405df2a (diff) | |
parent | 7d1b51fac1c518dec5c33d30c4cc4e5bffdc127e (diff) | |
download | gitlab-ce-268fb004c9917dfcbd4451354e4859ddff44005e.tar.gz |
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 b1fe36dc21c..0945b93ed5d 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) |