Log times for Global Search indexing in Process Bookkeeping Service
What does this MR do and why?
This MR adds logging information about the duration of indexing items in Elastic Search. This will be used to determine service levels.
How to set up and validate locally
- Make sure ES is set up correctly
- Update a model that is indexed by ES (e.g. an Issue)
- Check
elasticsearch.log
{"severity":"INFO","time":"2022-08-03T15:33:31.492Z","correlation_id":"374bc3c23895abaed8ca268233c9c937","message":"indexing_done","model_class":"Issue","model_id":"452","es_id":"issue_452","es_parent":"project_19","indexing_duration_s":4.32282}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #369246 (closed)
Edited by Roy Zwambag