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

Display bpf event lost counter in TUI #255

Open
spencercjh opened this issue Jan 6, 2025 · 3 comments
Open

Display bpf event lost counter in TUI #255

spencercjh opened this issue Jan 6, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request tui terminal ui related

Comments

@spencercjh
Copy link
Contributor

Background

In issue #225, we have completed the setup for the counter. The next step is integrating these counters into the TUI to visualize its value.

Objective

Integrate the counter into the TUI to allow users to view its value in real time.

@dosubot dosubot bot added the enhancement New feature or request label Jan 6, 2025
@spencercjh
Copy link
Contributor Author

I need some time to learn how to use the Bubbletee TUI framework...

@spencercjh
Copy link
Contributor Author

I expect it to look like this.

image

@hengyoush
Copy link
Owner

hengyoush commented Jan 6, 2025

I need some time to learn how to use the Bubbletee TUI framework...

No problem, do it at your own pace.

I expect it to look like this.

It's okay, but I suggest only displaying "kernEventLostCnt" ,"syscallDataEventLostCnt", "SslDataEventLostCnt", since the other counts are unlikely to be lost and not important.

And, to make it more user-friendly, we could merge the "syscallDataEventLostCnt" and "SslDataEventLostCnt" into a single count when display on ui, since both provide user protocol data, and users might not care whether it's "syscallData" or "sslData".

@hengyoush hengyoush added the tui terminal ui related label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tui terminal ui related
Projects
None yet
Development

No branches or pull requests

2 participants