Hi,teams
Can we create a new API for trace
for search profile. as we all know the profile
API can list the shard request execution time and phase.
With the only help of profile
API, some cases we can not know the true root case for slow search. We don't have a whole trace view of a specific search execution.
A new trace
API can list the whole search phase and execution time, for example:
- search transport time
- search queue wait time
- shard request execute shard search request time (similar to
profile
API) - coordinator receive shard response time (which shard is fast and which shard is slowest)
- coordinator reduce shard request time if have aggregations
- coordinator search response time
.....