canonical / lxd-ui

Easy and accessible container and virtual machine management. A browser interface for LXD
GNU General Public License v3.0
267 stars 33 forks source link

Feature request: Instance resource metrics in view, host resource metrics in cluster view #928

Open vosdev opened 4 days ago

vosdev commented 4 days ago

I would like to request some additional columns to the instance view

I would like to be able to see CPU / Memory / Disk columns for the instance view.

I have copied and pasted some html elements from the detailed instance viewer to give you a visualization of what it would probably look like:

image

The data is already there, we are just missing the option to display it :)

I would also like to be able to see some metrics of my host! Looking at the web UI I have no idea how much CPU / Memory I am utilizing or I can use still. The only thing you can see is the storage pool utilization under /project/default/storage/pools

I know LXD has an OpenMetrics endpoint that can give you all these values so it should be possible to achieve this

For the host metrics I think the cluster page is a good fit. If you have a single host you can simply only display the one node in the cluster view.

edlerd commented 3 days ago

Thank you for the request, these are excellent ideas that we will consider adding.

In fact, we are planning right now to include more observability features in the LXD-UI, so this is a great fit on that.