miaoyf / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

The unit of JDBC chart display error #462

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set the version of javamelody-core as 1.55.0
2. open the monitor page of java melody, the unit of JDBC display error
3. you can see the error chart in attach file

What is the expected output? What do you see instead?
Just want to know how can I let the unit of the JDBC display correct. 

What version of the product are you using? On what application server, JDK,
operating system?
version: 1.55.0
application server: tomcat
JDK: jdk1.6.0_43
OS: windows 7 professional

Please provide any additional information below.

Original issue reported on code.google.com by herestar...@gmail.com on 3 Mar 2015 at 2:25

Attachments:

GoogleCodeExporter commented 8 years ago
I consider that this issue is invalid, because this is how RRD (Round Robin 
Database) works and compute mean / max values.

Note that in all the graphics, "m" is for milli (1 / 1000), "k" is for kilo/
thousands, "M" is for mega/millions, "G" is for giga/billions and "u"
is for micro (1 / 1000000).
And choice of the units is automatic based on values.

Given that the values of "used jdbc connections"
are hopefully not constant and not high, the mean for a day (or for a
few minutes) is often not an integer and often below 1, such as 200000 u which 
is 200 m (a mean of 0.200).

Original comment by evernat@free.fr on 3 Mar 2015 at 4:46