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

Add more detailed system and container stats to Cockpit's dashboard #21615

Open
loxoron218 opened this issue Feb 13, 2025 · 4 comments
Open

Add more detailed system and container stats to Cockpit's dashboard #21615

loxoron218 opened this issue Feb 13, 2025 · 4 comments

Comments

@loxoron218
Copy link

I would like to suggest an enhancement for the Cockpit dashboard to include more detailed system statistics, similar to what Grafana dashboards offer. Maybe even being able to edit what to show? This could include metrics on one place such as:

CPU Usage
RAM Usage
Network Traffic
Disk Usage
Podman Containers Information

I don't know if it would be possible with the current exporting tools. Maybe integration with tools like Prometheus and node_exporter to collect and display these metrics directly within Cockpit?

Having a centralized location that provides all the current functionalities plus all of this information in one view would be a killer in my opinion a feature that would make Cockpit even more powerful and user-friendly. Would this be a feasible enhancement?

Here is an example (to be fair very extense) of a Grafana dashboard that I think would be very compatible with what cockpit offers.:
Image

@jelly
Copy link
Member

jelly commented Feb 13, 2025

Have you looked at our overview page with PCP enabled? We do offer basically realtime stats and historical ones with PCP. It is not Cockpit's job to replace something like Grafana but our PCP data can be exported to Grafana afaik.

The stats you mentioned are shown in cockpit:

  • CPU Usage
  • RAM Usage
  • Network Traffic
  • Disk Usage
  • Podman Containers Information

Image

Podman containers cpu/memory usage is shown as well in the overview.

@loxoron218
Copy link
Author

Thanks for the PCP recommendation, I wasn't honestly aware of it.

Now looking at it, I still think it would be cool to be able to change how the the stats are represented visually. Like for example:

  • Being able to change the graph progression from vertical to horizontal
  • Being able to see the different processes and their fluctuations over time (like on the Grafana screnenshot I sent)
  • Being able to change the order of the "widgets"
  • Also, adding the Podman information to the same page and having everything on one site

Thanks for your polite and understanding answer! Specially towards a rather "newby" user like me :)

@jelly
Copy link
Member

jelly commented Feb 17, 2025

In short:

Being able to change the graph progression from vertical to horizontal

I don't see this happening soon, it would need us to re-discuss the current design.

Being able to see the different processes and their fluctuations over time (like on the Grafana screnenshot I sent)

This is definitely lacking and I am not sure if we can easily implement that with PCP information.

Being able to change the order of the "widgets"

Could be an option, but I'd say they are quite logical as is.

Also, adding the Podman information to the same page and having everything on one site

For that we cockpit-podman high cpu/memory containers should show up and then there is a link to the podman management page.

@loxoron218
Copy link
Author

I guess not exactly what I was looking for, but thanks for your answer either way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants