Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1212980

Summary: Add QueueAvailableCapacity metric to rhq-server plug-in
Product: [JBoss] JBoss Operations Network Reporter: Larry O'Leary <loleary>
Component: Plugin -- OtherAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED ERRATA QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.1CC: fbrychta, miburman, rhatlapa
Target Milestone: post-GAKeywords: Triaged
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-28 13:29:22 UTC Type: Enhancement
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: 1147098    
Bug Blocks: 1181217    

Description Larry O'Leary 2015-04-17 19:55:38 UTC
Description of problem:
BZ 1147098 introduced a fix for loss of raw metrics during metric storage failure by adding a metric queue on the server-side. This fix included adding a new property to control/configure how large/small the metric queue could be. The property is QueueAvailableCapacity and has been added to rhq-server plug-in.

This work was done and committed to release/jon3.3.x as c9cd10cf0f541fe48cba03c03ce8fc1049b34f3f.

This BZ represents the plug-in portion which exposes the new configuration option in the JBoss ON UI via the RHQ Server resource's configuration page. The dependent BZ 1147098 represents the core server changes to support the actual fix.

Version-Release number of selected component (if applicable):
3.3.2

Comment 1 Michael Burman 2015-04-18 20:40:32 UTC
The queue size itself is not configurable actually (this is a bit trickier to implement as the queue size can't be changed on the fly without first emptying it).

The patch itself only gives the ability to monitor the size. If the queue size must be modified also, then changes are required to the JON itself.

Comment 2 Larry O'Leary 2015-04-20 13:51:17 UTC
As indicated in comment 1, the description provided in this BZ is incorrect. QueueAvailableCapacity is a metric. It is not a configuration option.

Comment 4 Filip Brychta 2015-06-17 14:33:01 UTC
Verified that QueueAvailableCapacity metric is visible and correct value (200 000) is displayed.