Commit 95ead8b1 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'add_metrics_for_bb_and_github' into 'master'

Add metrics for BitBucket and GitHub API calls

See merge request !2661
parents 7fadc3f1 96fded62
......@@ -133,6 +133,10 @@ def instrument_classes(instrumentation)
instrumentation.instrument_instance_methods(Elastic::SnippetsSearch)
instrumentation.instrument_instance_methods(Elastic::WikiRepositoriesSearch)
instrumentation.instrument_instance_methods(Gitlab::BitbucketImport::Importer)
instrumentation.instrument_instance_methods(Bitbucket::Connection)
instrumentation.instrument_instance_methods(Github::Client)
# This is a Rails scope so we have to instrument it manually.
instrumentation.instrument_method(Project, :visible_to_user)
......
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