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

Sort queries on worker status web ui by descending reserved memory #24475

Merged

Conversation

takezoe
Copy link
Member

@takezoe takezoe commented Dec 14, 2024

Description

There are the list of queries on the worker status view.

It would be more useful if this list is sorted by memory to find memory consuming queries on the worker.

Before (Queries are listed randomly):
Screenshot 2025-01-12 at 2 52 42

After (Queries are sorted by reserved memory):
Screenshot 2025-01-12 at 2 46 53

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## Web UI
* Sort queries on worker status web ui by descending reserved memory. ({issue}`24475`)

@cla-bot cla-bot bot added the cla-signed label Dec 14, 2024
@github-actions github-actions bot added the ui Web UI label Dec 14, 2024
@takezoe takezoe force-pushed the webui-sort-queries-on-worker-by-memory branch from c4e2854 to 4854766 Compare December 14, 2024 10:03
@takezoe takezoe changed the title WebUI: Sort queries on worker by memory WebUI: Sort queries on worker by descending memory consumption Dec 14, 2024
@takezoe takezoe changed the title WebUI: Sort queries on worker by descending memory consumption WebUI: Sort queries on worker by descending reserved memory Dec 14, 2024
@takezoe takezoe force-pushed the webui-sort-queries-on-worker-by-memory branch from 4854766 to 5e53e35 Compare December 14, 2024 10:04
Copy link
Member

@raunaqmorarka raunaqmorarka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include a before/after screenshot in the PR so that it's easier to visualize the changes

@takezoe takezoe force-pushed the webui-sort-queries-on-worker-by-memory branch from 5e53e35 to 68c4d3e Compare January 11, 2025 17:47
@takezoe takezoe force-pushed the webui-sort-queries-on-worker-by-memory branch from 68c4d3e to 650b00f Compare January 11, 2025 18:06
@takezoe
Copy link
Member Author

takezoe commented Jan 11, 2025

@raunaqmorarka Thank you for your review. I added screenshots and revised the code following your comments.

@raunaqmorarka raunaqmorarka changed the title WebUI: Sort queries on worker by descending reserved memory Sort queries on worker status web ui by descending reserved memory Jan 12, 2025
@raunaqmorarka raunaqmorarka merged commit cc91dae into trinodb:master Jan 12, 2025
92 of 94 checks passed
@github-actions github-actions bot added this to the 469 milestone Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants