Red Hat Bugzilla – Bug 1025820
Matches counts are not recorded in JON
Last modified: 2014-08-06 16:20:13 EDT
Created attachment 818365 [details]
Screenshot showing the problem
Description of problem:
KieSession metrics related to Activations/Matches (created, fired, cancelled activations/matches) are not picked by JON.
Version-Release number of selected component (if applicable):
JON 3.2 ER4
Run any Drools applications creating rule activations/matches and monitor it using JON.
No activations/matches are shown in charts.
Charts with values according to actual data.
The problem probably is that in 6.0 the Activations were renamed to Matches. The JON plugin (as it remained unchanged) still checks for TotalActivationsFired instead of new TotalMatchessFired. As can be seen on attached screenshot, the data is available through JMX console, just not picked by JON.
Please bear in mind that JON plugin has to work for older versions of BRMS (i.e. 5.x) and therefore the plugin should correctly read the data both the old and the new way.
Update the metrics to use the 6.0.x property names.
Verified with RHQ plugin included in BRMS 6.0.0 CR2