Commit 9d504574 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'es_instrumenting' into 'master'

ES instrumenting

/cc @pcarranza 

See merge request !638
parents e1fadd58 32e8efa1
...@@ -5,6 +5,7 @@ v 8.11.0 (unreleased) ...@@ -5,6 +5,7 @@ v 8.11.0 (unreleased)
- Change LdapGroupSyncWorker to use new LDAP group sync classes - Change LdapGroupSyncWorker to use new LDAP group sync classes
- [Elastic][Fix] Commit search breaks for some URLs on gitlab-ce project - [Elastic][Fix] Commit search breaks for some URLs on gitlab-ce project
- Removed unused GitLab GEO database index - Removed unused GitLab GEO database index
- Enable monitoring for ES classes
v 8.10.5 v 8.10.5
- Used cached value of project count in `Elastic::RepositoriesSearch` to reduce DB load. !637 - Used cached value of project count in `Elastic::RepositoriesSearch` to reduce DB load. !637
......
...@@ -148,6 +148,20 @@ if Gitlab::Metrics.enabled? ...@@ -148,6 +148,20 @@ 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_instance_methods(Search::GlobalService)
config.instrument_instance_methods(Search::ProjectService)
config.instrument_instance_methods(Gitlab::Elastic::SearchResults)
config.instrument_instance_methods(Gitlab::Elastic::ProjectSearchResults)
config.instrument_instance_methods(Elastic::ApplicationSearch)
config.instrument_instance_methods(Elastic::IssuesSearch)
config.instrument_instance_methods(Elastic::MergeRequestsSearch)
config.instrument_instance_methods(Elastic::MilestonesSearch)
config.instrument_instance_methods(Elastic::NotesSearch)
config.instrument_instance_methods(Elastic::ProjectsSearch)
config.instrument_instance_methods(Elastic::RepositoriesSearch)
config.instrument_instance_methods(Elastic::SnippetsSearch)
config.instrument_instance_methods(Elastic::WikiRepositoriesSearch)
end end
GC::Profiler.enable GC::Profiler.enable
......
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