Bug 1031732

Summary: Resource Group Graph on Dashboard shows duplicate metrics
Product: [JBoss] JBoss Operations Network Reporter: Peter Larsen <plarsen>
Component: UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: jshaughn, loleary, myarboro, skondkar
Target Milestone: ER03   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:00:02 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:
Embargoed:
Bug Depends On: 768342    
Bug Blocks:    

Description Peter Larsen 2013-11-18 16:08:33 UTC
Description of problem:

The dashboard portlet for resource groups shows multiple metrics of the same name. The dashboard also does not show metrics from child elements in recursive groups.

How reproducible:

Every time.

Steps to Reproduce:
1. Create compatible group with 2 or more members of the same time. Make it recursive. Suggest makinga group of EAP instances
2. Create new dashboard
3. Create "Resource Group Graph" portlet
4. Pick the group just created
5. In the drop down of metrics multiple "JVM Free mememory' and other primary metrics are listed.
6. No metrics from child resources are shown

Actual results:

Duplicate metrics shown in list

Expected results:

Only one instance of each metric name.

Comment 3 Jay Shaughnessy 2014-09-05 17:38:35 UTC
release/jon3.3.x commit f839b55164ea4e89fb37398882421b4433af09ea
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Sep 5 13:28:57 2014 -0400

Conflicts:
	modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java

    (cherry picked from commit 16c6dbf7d3fc6d1a2614cd34b255853e09f0be45)
    Signed-off-by: Jay Shaughnessy <jshaughn>

Comment 4 Simeon Pinder 2014-09-17 02:49:00 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=385149

Comment 5 Sunil Kondkar 2014-09-24 13:53:22 UTC
Verified on JON 3.3 ER03

Dashboard resource group metric graph portlet does not display duplicate metrics.