Commit 7d1b51fa authored by Yorick Peterse's avatar Yorick Peterse

Instrument Gitlab::Git::Repository

This adds instrumentation for the instance methods of
Gitlab::Git::Repository.
parent a4ff270d
...@@ -49,6 +49,7 @@ if Gitlab::Metrics.enabled? ...@@ -49,6 +49,7 @@ if Gitlab::Metrics.enabled?
config.instrument_instance_methods(Gitlab::Shell) config.instrument_instance_methods(Gitlab::Shell)
config.instrument_methods(Gitlab::Git) config.instrument_methods(Gitlab::Git)
config.instrument_instance_methods(Gitlab::Git::Repository)
Gitlab::Git.constants.each do |name| Gitlab::Git.constants.each do |name|
const = Gitlab::Git.const_get(name) const = Gitlab::Git.const_get(name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment