Tracing indexing requests and search queries

Description

Provide support for creating "traces" during the execution of indexing and search queries, so that users can get collect that data and get insights into the behavior of their application ("what is taking so long?"/"which of my business operations are the most resource-intensive?"/...)

The hope is that it would replace Hibernate Search 5's JMX statistics support advantageously.

One challenge will be to forward the tracing context to background threads, since most indexing (and ES querying) is done in a different thread than the client thread.

Relevant: https://opentracing.io/

Environment

None

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major
Configure