Skip to content
Snippets Groups Projects
Commit 7d1b51fa authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Instrument Gitlab::Git::Repository

This adds instrumentation for the instance methods of
Gitlab::Git::Repository.
parent a4ff270d
No related branches found
No related tags found
No related merge requests found
Loading
@@ -49,6 +49,7 @@ if Gitlab::Metrics.enabled?
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment