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

[META] Top N Query Shapes by Latency and Resource Usage #13419

Open
6 tasks
deshsidd opened this issue Apr 27, 2024 · 1 comment
Open
6 tasks

[META] Top N Query Shapes by Latency and Resource Usage #13419

deshsidd opened this issue Apr 27, 2024 · 1 comment
Labels
Meta Meta issue, not directly linked to a PR Search Search query, autocomplete ...etc Telemetry:Performance PRs or issues specific to telemetry performance improvements

Comments

@deshsidd
Copy link
Contributor

Please describe the end goal of this project

In RFC #13357, we proposed to group Top N queries by latency and resource usage using Query shape. For Top N queries by latency, we can encounter scenarios where some (or most) of the Top N queries contain duplicate queries. To overcome such scenarios and to get a more detailed view of the Top N query patterns we are proposing to implement Top N query shapes by resource usage (latency, memory, disk, etc).

Supporting References

RFC: #13357

Issues

Following is the high level break up of tasks of the project. I will keep linking github issues and PRs as and when they are published.

  • Create query shape representation class structure
  • Parse real queries to POJO representation
  • Apply normalizations on the query shape and implement hashcode for the query shape object
  • Enhance or create a new processor to store point in time Top N query shape data by latency
  • Enhance APIs and/or configuration to expose the Top N query shapes feature to the end user and provide the ability to enable/disable the feature
  • Write Unit and integration tests

Related component

Search:Query Insights

@deshsidd deshsidd added Meta Meta issue, not directly linked to a PR untriaged labels Apr 27, 2024
@peternied peternied added Search Search query, autocomplete ...etc Telemetry:Performance PRs or issues specific to telemetry performance improvements and removed untriaged labels May 1, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5 6 7 8]
@deshsidd Thanks for creating this meta issue to track this effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta Meta issue, not directly linked to a PR Search Search query, autocomplete ...etc Telemetry:Performance PRs or issues specific to telemetry performance improvements
Projects
Status: In Progress
Status: 🆕 New
Development

No branches or pull requests

2 participants