-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
Use cases are anyone who has a reasonably complex vector instance with many moving parts, they often want to see just the transforms or sinks that they're interested in rather than the whole set, in a way that is quickly accessible.
Attempted Solutions
We have a large number of transformations - probably around 150 - and also around 10 sink/sources. When we use "vector top" to understand what's going on in the server, we find that the list is truncated at around 100 items in the display. I understand this may just be a reasonable number, but I have a vertical monitor, so probably I have enough real estate at a slightly smaller font size to see 150 lines in readable form. This led me to thinking about some of the other things I keep wishing I had on "vector top" like I have with "htop".
I know that there is the ability to filter the visible elements already with regular expressions on launch of "vector top" using the "--components" argument but it's not modifiable once running, and often I want to filter very quickly to see what's happening on a transformation/source/sink.
Proposal
So I'd like to outline some options of convenience:
- pagination (forward/backwards arrows) to page through elements that can't all be shown on one vertical screen
- sort by any of the columns (ID, Output, Kind, Type, etc.) by last interval value (usually 1 second) or by total value
- filter ID / Kind / Type by arbitrary strings or regular expressions (I'm ok with just one filter being able to be applied at once, instead of stacking filters which seems un-necessarily complex) from within the viewing window
- ability to launch "vector top" with any settings that are possible to instantiate in realtime view
References
Looking at "htop" as a rough guide for usage.
Version
0.51.0