Bug 1025820

Summary: Matches counts are not recorded in JON
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Schlosser <tschloss>
Component: JON PluginAssignee: Edson Tirelli <etirelli>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecified   
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:20:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot showing the problem none

Description Tomas Schlosser 2013-11-01 16:44:27 UTC
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):
BRMS 6.0.0.ER4
JON 3.2 ER4

How reproducible:
Run any Drools applications creating rule activations/matches and monitor it using JON.

Actual results:
No activations/matches are shown in charts.

Expected results:
Charts with values according to actual data.

Additional info:
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.

Comment 1 Edson Tirelli 2013-12-02 20:05:24 UTC
Update the metrics to use the 6.0.x property names.

(master)
http://github.com/droolsjbpm/droolsjbpm-integration/commit/fad261b51

(6.0.x)
http://github.com/droolsjbpm/droolsjbpm-integration/commit/b36fc43ef

Comment 2 Tomas Schlosser 2014-01-27 13:19:49 UTC
Verified with RHQ plugin included in BRMS 6.0.0 CR2