[ZBX-5590] JMX Generic Template Accumulated time spent in compilation wrong multiplier Created: 2012 Sep 18  Updated: 2017 May 30  Resolved: 2013 Oct 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 2.0.0
Fix Version/s: 2.1.9

Type: Incident report Priority: Trivial
Reporter: Mikhail Dobrinin Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: jmx, templates, trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There is a custom multiplier of 0.0001 on Template JMX Generic's Accumulated time spent in compilation with key jmx["java.lang:type=Compilation",TotalCompilationTime]. However, that value is actually stored in milliseconds.

http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/management/CompilationMXBean.html#getTotalCompilationTime()



 Comments   
Comment by Alexei Vladishev [ 2012 Sep 19 ]

I am not sure what's wrong here. Zabbix just converts milliseconds into seconds, it seems to be fine.

Please clarify.

Comment by Mikhail Dobrinin [ 2012 Sep 19 ]

.0001 is not the correct multiplier for milliseconds

Comment by Alexei Vladishev [ 2012 Sep 27 ]

I see now, thanks!

Comment by Aleksandrs Saveljevs [ 2013 Oct 17 ]

Resolved in development branch for ZBX-6577. Please see that issue for details.

Comment by Andris Zeila [ 2013 Oct 22 ]

Successfully tested.

Comment by Aleksandrs Saveljevs [ 2013 Oct 24 ]

Fixed in pre-2.1.9 (trunk) r39550.

Generated at Wed Apr 24 16:23:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.