-
Notifications
You must be signed in to change notification settings - Fork 4
CLI UI rework #27
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
base: main
Are you sure you want to change the base?
CLI UI rework #27
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
layout: :theme/post | ||
title: "Network Observability On Demand UI Refactor" | ||
description: Enhanced command-line interface in NetObserv 1.10 | ||
tags: CLI,Monitoring,Troubleshooting | ||
authors: [jpinsonneau] | ||
--- | ||
|
||
The NetObserv 1.10 release introduces a sleek, interactive command-line interface powered by the excellent [tview library](https://github.com/rivo/tview) and one of its extension [tvxwidgets](https://github.com/navidys/tvxwidgets). | ||
|
||
These open-source Go packages bring a rich set of UI components such as buttons, dropdowns, popups and tables, all seamlessly integrated into your terminal. | ||
|
||
<br> | ||
Figure 1: Tview examples | ||
|
||
# Key Capabilities | ||
|
||
## Table View Enhancements | ||
|
||
The flow and packet capture keeps the same abilities, showing the flow table, cycling between `displays` and `enrichments` and applying `live filters`. | ||
|
||
<br> | ||
Figure 2: Flow table view | ||
|
||
New in 1.10: | ||
- *Customizable Columns*: Click the `Manage Columns` button to select which columns to display and tailor the table to your needs.<br><br> | ||
<br> | ||
Figure 3: Column selection popup | ||
|
||
- *Smart Filtering*: Live filters now include auto-suggestions, making it easier to select the right keys and values.<br><br> | ||
<br> | ||
Figure 4: Live filters suggestions | ||
|
||
- *Packet Preview*: When capturing packets, simply click a row to inspect the pcap content directly.<br><br> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see the use of displaying pcap content on terminal, it's in encoded format anyway. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just click on a row and you will see the content. If you try to read http packets you can read clear text 😸 |
||
<br> | ||
Figure 5: Packet content display | ||
|
||
## Terminal-Based Line Charts | ||
|
||
Metrics visualization takes a leap forward with real-time graphs rendered directly in the CLI. | ||
<br> | ||
Figure 6: Metrics graphs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how do I get graphs on terminal? I tried That's also the general comment I have - to have a command as precursor to the images of the views that's on the blog. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You command is right, however, you need that PR for metrics: netobserv/network-observability-cli#333 The editors team is suggesting to do a video instead of a blog ... Or at least put videos instead of screens so I will probably change everything here 😿 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah, okay! |
||
|
||
Features include: | ||
- *Panel Selection*: Choose from predefined views or build your own dashboard via the `Manage Panels` popup. | ||
- *Time Range Control*: Use the dropdown to select a time window up to the last 6 hours of data. | ||
|
||
<br> | ||
Figure 7: Panel management popup | ||
|
||
And of course, the full `NetObserv / On Demand` dashboard remains available in the OpenShift Console for deeper insights. | ||
|
||
# UI Gallery | ||
|
||
A visual tour of the new CLI experience: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you think gifs would be nice as opposed to static images? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see #27 (comment) |
||
|
||
<br><br> | ||
<br><br> | ||
<br><br> | ||
<br><br> | ||
<br><br> | ||
<br><br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a small detail, but the bullet is aligned left and the text seems to be aligned to the center. I think would be nicer for the text to be right after the bullet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's related to the blog itself, not this article. I can take a look at the stylings in parallel 😉
Thanks for the feedback !