Enable elasticsearch instrumentation in the Rails log
What does this MR do?
Adds instrumentation for elasticsearch queries
Are there points in the code the reviewer needs to double check?
This doesn't seem to work if it's placed in a file in config/initializers
. Is there a better place for it? Should we fence it with an envvar?
Why was this MR needed?
Improve visibility of elasticsearch query details and cost in logs
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #2278 (closed)