ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.97k stars 532 forks source link

Include percentage of space used when showing File System Info under "Node Info" #433

Closed pushshift closed 5 years ago

pushshift commented 6 years ago

For people who use percentage of disk space used to quickly determine ES watermark levels, it would be very helpful to put the percentage of space used / remaining next to the appropriate fields.

For example:

Available Space | 94.3 GB Free Space | 95.3 GB (82%) <--- Shows how much disk space has been used Total Space | 503.9 GB

Obviously one could compute this with the info already given, but since CPU and JVM measurements already include percentages, it would be great if disk measurements did as well.

Also, you have Available Space and Free Space which to me seem to be the same thing. Perhaps we could have:

Available Space | 94.3 GB (18% Free) Used Space | 419.9 GB (82% Used) Total Space | 503.9 GB

(Numbers made up so might not add up correctly)

Thanks so much for all your hard work!

sdesse commented 6 years ago

Hello, I was thinking the same. Coming from KOPF I think this could be useful to add to the node view:

royrusso commented 5 years ago

I'll add to the next release. @pushshift the only thing I'd change is that available != free.

available = free - reserved filesystem blocks

@sdesse I'll add your suggestions on to the same commit.

royrusso commented 5 years ago
  • When a node has the master role but is not elected we could show an unchecked box

This should already show a box with a minus, when a node is an electable master but not a current master.

  • Heap info could show heap used/total, something like 50% - 2/4GB

Adding as a tooltip.

  • Disk used could show % like 80% - 80/100GB

Looking at this. The ES 2.4 CAT API doesn't return Used and Total, where future versions do. Adding an extra node info call could cause slowdown.

  • The uptime and elasticsearch/JVM version at the node level (to see mismatches)

Adding uptime as a tooltip.

Note: The reason for the use of tooltips, is the constraint on horizontal space in that table.