Bug 534508 (RHQ-1299)

Summary: create monitor mbean to track performance of dynagroup recalculations
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: OperationsAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dajohnso
Target Milestone: ---Keywords: SubFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1299
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 536002    

Description Joseph Marques 2008-12-22 04:11:00 UTC
instead of printing the performance statistics for dynagroup recalculation to the RHQ Server's log, write support for exposing rich performance metrics on a groupDefinition-by-groupDefinition basis through a monitor mbean.

Comment 1 Joseph Marques 2008-12-22 04:19:18 UTC
rev2516 - performance metrics for work done by recalculation thread for group defs / dyna groups; 
a new service - "RHQ Server Group Definition / DynaGroups Subsystem" - under the RHQ Server exists to wrap this functionality; 
a "get statistics" method exist and will retrieve metrics on a groupDefinition-by-groupDefinition basis;
clear statistics will reset them to zero (as will a server restart); 
four measurement definition exist on the service itself to help graph overall group definition metrics over time; 

Comment 2 Jeff Weiss 2008-12-24 15:50:21 UTC
Is this a first-level feature, or just something to help with debugging the dynagroup recalculation feature?

Comment 3 Jeff Weiss 2009-01-06 19:14:46 UTC
I added some dynagroups with recalc, the monitor graphs and tables appear to be accurate.  The dynagroup sizes did increase when I added resources.  Everything else *looks* right but for instance calc time I have no way to verify independently.  rev2522

Comment 4 Red Hat Bugzilla 2009-11-10 20:30:00 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1299