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

[Backport 2.x] Query grouping framework for Top N queries and group by query similarity #86

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 65e4489 from #66.

…ity (#66)

* Query grouping framework and group by query similarity

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Spotless apply

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Build fix

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Properly configure settings update consumer

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Address review comments

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Refactor unit tests

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Decouple Measurement and MetricType

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Aggregate type NONE will ensure no aggregations computed

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Perform renaming

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Integrate query shape library with grouping

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Spotless

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Create and consume string hashcode interface

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Health checks in code

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Fix tests and spotless apply

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Minor fixes

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Max groups setting and unit tests

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Address review comments

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Address review comments

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Create query grouper interface and top query store interface

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Address review comments

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Removed unused interface

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Rebase main and spotless

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Renaming variable

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Remove TopQueriesStore interface

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Drain top queries service on group change

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Rename max groups setting and allow minimum 0

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Make write/read from io backword compatible

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Minor fix

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Refactor query grouper

Signed-off-by: Siddhant Deshmukh <[email protected]>

---------

Signed-off-by: Siddhant Deshmukh <[email protected]>
(cherry picked from commit 65e4489)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@deshsidd deshsidd merged commit 9c142a7 into 2.x Sep 4, 2024
24 checks passed
@ansjcy ansjcy deleted the backport/backport-66-to-2.x branch September 5, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant