Red Hat Bugzilla – Bug 608461
measurement units incorrect for "query execution max time" metric for hibernate plugin
Last modified: 2011-07-28 12:36:40 EDT
Description of problem:
The "query execution max time" metric for the hibernate statistics service is incorrect. Looking at the plugin descriptor, the units are unspecified, which implies the system will interpret the metric as an absolute count.
The statistics mbean indicates that this value is in milliseconds. The fix is to add the following attribute and to the metric definition in the rhq-plugin.xml file:
The plugin metadata update processes should take care of the rest. Since the metric graphs have their axes labels generated during rendering, it should fix the appearance of already collected data, as well as fix the appearance of all data collected in the future.
Two images will be uploaded to this case, showing what the rendered metric mini-graph looks like before and after the fix.
Created attachment 427234 [details]
rendered metric mini-graph before the fix
Created attachment 427235 [details]
rendered metric mini-graph AFTER the fix
Author: Joseph Marques <firstname.lastname@example.org>
Date: Sun Jun 27 18:09:40 2010 -0400
BZ-608461: fix units for Hibernate statistics service "query execution max time" metric
QA Verified. the appropriate measurement unit now appears.
Mass-closure of verified bugs against JON.