Skip to content

[META] Grouping similar Top N Queries by Latency and Resource Usage #13419

@deshsidd

Description

@deshsidd

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

Metadata

Metadata

Assignees

Labels

MetaMeta issue, not directly linked to a PRRoadmap:Stability/Availability/ResiliencyProject-wide roadmap labelSearchSearch query, autocomplete ...etcTelemetry:PerformancePRs or issues specific to telemetry performance improvementsv2.17.0

Type

No type

Projects

Status

✅ Done

Status

Done

Status

New

Status

2.17 (First RC 09/03, Release 09/17)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions