javamelody icon indicating copy to clipboard operation
javamelody copied to clipboard

Report Free Diskspace in "Other Charts"

Open GoogleCodeExporter opened this issue 10 years ago • 3 comments

What steps will reproduce the problem?
1. View JavaMelody monitoring interface
2. Scroll to "System Information"
3. Click on "Details" to Expand.

What is the expected output? What do you see instead?
Free Diskspace is reported (ie, 3,798 Mb).
1. I would like to see free diskspace graphed by JavaMelody in the "Other 
charts" section.  
2. It would also be useful to see the graphs for all the filesystems.  For 
instance, the Free Diskspace reported currently does not report for the 
filesystem where I actually store my JIRA and Confluence data (I use a symbolic 
link so the data is not actually in the JIRA filesystem.

What version of the product are you using? On what application server, JDK, 
operating system?

JavaMelody 1.46.0 
JIRA v6.0.8
Tomcat/7.0.29
Java 1.7.0_25-b15  (JDK)
MySQL, 5.5.19
Linux

Please provide any additional information below.

The utility of this enhancement is to better allow the user to spot trends... 
allowing diskspace to be planned for and upgraded *before* there is problem.

Original issue reported on code.google.com by [email protected] on 13 Sep 2013 at 6:05

GoogleCodeExporter avatar Jun 21 '15 16:06 GoogleCodeExporter

I have added a chart of "Free disk space" in "Other charts".
This is in trunk (revision 3530) and ready for the next release (1.48).
I have made a new build including that for JIRA/Confluence/Bamboo and it is 
available at:
https://javamelody.googlecode.com/files/jira-javamelody-20131012.jar

But adding a chart for each file system may be a bit too much.

Original comment by [email protected] on 12 Oct 2013 at 11:09

GoogleCodeExporter avatar Jun 21 '15 16:06 GoogleCodeExporter

Tested on Confluence v5.3.1 with java 1.7.0_40 JDK,  using 
jira-javamelody-20131105.jar. 

As can be seen, the chart is working - and I checked that the stats are 
accurate.

So, thank you very much indeed.

Some additional suggestions/feedback:

1) The filesystem that the graph is reporting on should be named in the graph.

2) The filesystem that JavaMelody has chosen to report upon is an important 
data filesystem for me...  but it's not the filesystem that I worry about the 
most.  So, it would be useful to be able to report on more than one filesystem. 
 Yes, I saw the comment that this "may be a bit too much". =)

3) The mean/maximum figure should be to 1 decimal place (ie, 3.2 G) in order to 
match the Y axis on the graph - and the output from df -h.

4) As this is a graph of available disk space, it would be more useful to 
report mimimum rather than maximum.

5) red vs green shading in graph:  shouldn't things go red when free space is 
LESS rather than MORE? ie, in the attached example, everything should be green 
- and only go red if the free diskspace falls to 0.5 G (or 10% or whatever).

Original comment by [email protected] on 12 Nov 2013 at 1:51

Attachments:

GoogleCodeExporter avatar Jun 21 '15 16:06 GoogleCodeExporter

We may not want to have in "Other charts" a graph of free disk space for each file system. And otherwise this enhancement may come as adding a page to list file systems and graphs of free disk space for each one. So this seems not a good usage of user interface space for a not essential feature.

About colors and units in the graphs: they are automatic for all graphs and not specific for a graph.

evernat avatar May 15 '18 23:05 evernat