Commit 361b3a43 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'feature/instrument-es-code' into 'master'

Instrument more ES-related code

See merge request !721
parents d5381c65 0ca1357f
Please view this file on the master branch, on stable branches it's out of date. Please view this file on the master branch, on stable branches it's out of date.
v 8.12.0 (Unreleased) v 8.12.0 (Unreleased)
- [ES] Instrument Elasticsearch::Git::Repository
- [ES] Instrument other Gitlab::Elastic classes
v 8.11.6 v 8.11.6
- Exclude blocked users from potential MR approvers - Exclude blocked users from potential MR approvers
......
...@@ -149,10 +149,18 @@ if Gitlab::Metrics.enabled? ...@@ -149,10 +149,18 @@ if Gitlab::Metrics.enabled?
config.instrument_methods(Gitlab::Highlight) config.instrument_methods(Gitlab::Highlight)
config.instrument_instance_methods(Gitlab::Highlight) config.instrument_instance_methods(Gitlab::Highlight)
config.instrument_methods(Elasticsearch::Git::Repository)
config.instrument_instance_methods(Elasticsearch::Git::Repository)
config.instrument_instance_methods(Search::GlobalService) config.instrument_instance_methods(Search::GlobalService)
config.instrument_instance_methods(Search::ProjectService) config.instrument_instance_methods(Search::ProjectService)
config.instrument_instance_methods(Gitlab::Elastic::SearchResults) config.instrument_instance_methods(Gitlab::Elastic::SearchResults)
config.instrument_instance_methods(Gitlab::Elastic::ProjectSearchResults) config.instrument_instance_methods(Gitlab::Elastic::ProjectSearchResults)
config.instrument_instance_methods(Gitlab::Elastic::Indexer)
config.instrument_instance_methods(Gitlab::Elastic::SnippetSearchResults)
config.instrument_methods(Gitlab::Elastic::Helper)
config.instrument_instance_methods(Elastic::ApplicationSearch) config.instrument_instance_methods(Elastic::ApplicationSearch)
config.instrument_instance_methods(Elastic::IssuesSearch) config.instrument_instance_methods(Elastic::IssuesSearch)
config.instrument_instance_methods(Elastic::MergeRequestsSearch) config.instrument_instance_methods(Elastic::MergeRequestsSearch)
......
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