Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potentially record wall-clock times while profiling #23114

Open
polyfractal opened this issue Feb 10, 2017 · 1 comment
Open

Potentially record wall-clock times while profiling #23114

polyfractal opened this issue Feb 10, 2017 · 1 comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@polyfractal
Copy link
Contributor

Filing this for myself so I don't forget.

It might be useful for the profiler to collect start/stop wall-clock times of major components. I'm thinking really coarse events, like start/stop of search phase on each shard. This would allow construction of a gantt chart showing the temporal relationship between shards.

Right now, it's possible to profile a slow query, but not see any individual component being the obvious culprit. Instead, queuing delays on certain shards can increase the total time, but this isn't represented in the profiled time because it only measures processing time. Recording coarse wall-clock times would allow the profiler to reconstruct a timeline of when the major components kicked off.

Since this will only be used visually by humans, I don't think we really have to worry about clock-skew, poorly synced times, etc.

@polyfractal polyfractal added :Search/Search Search-related issues that do not fall into other categories >enhancement labels Feb 10, 2017
@polyfractal polyfractal self-assigned this Feb 10, 2017
@cbuescher
Copy link
Member

/cc @elastic/es-search-aggs

@polyfractal polyfractal removed their assignment Jun 12, 2019
@rjernst rjernst added the Team:Search Meta label for search team label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

3 participants