Bug 809622

Summary: [as7] a bunch of DataSource metrics return null values
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.3CC: ccrouch, hrupp
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 10:16:34 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:    
Bug Blocks: 707223    

Description Ian Springer 2012-04-03 20:20:05 UTC
The following metrics on the DataSource Resource type return null values:

[PreparedStatementCacheCurrentSize,
 PreparedStatementCacheMissCount, PreparedStatementCacheAddCount,
 PreparedStatementCacheAccessCount,
 PreparedStatementCacheDeleteCount,
 PreparedStatementCacheHitCount, AverageBlockingTime, ActiveCount,
 CreatedCount, MaxCreationTime, TotalCreationTime, AvailableCount,
 MaxUsedCount, TotalBlockingTime, AverageCreationTime,
 DestroyedCount]

Comment 1 Ian Springer 2012-04-03 20:20:32 UTC
From Heiko:

Those have moved into:

statistics=pool
and
statistics=jdbc

[standalone@localhost:9999 statistics=pool] cd ../statistics=

jdbc   pool
[standalone@localhost:9999 statistics=pool] cd ../statistics=jdbc
[standalone@localhost:9999 statistics=jdbc]
:read-resource(include-runtime=true)
{
    "outcome" => "success",
    "result" => {
        "PreparedStatementCacheAccessCount" => "0",
        "PreparedStatementCacheAddCount" => "0",
        "PreparedStatementCacheCurrentSize" => "0",
        "PreparedStatementCacheDeleteCount" => "0",
        "PreparedStatementCacheHitCount" => "0",
        "PreparedStatementCacheMissCount" => "0"
    }
}

Comment 2 Heiko W. Rupp 2012-04-04 09:05:22 UTC
master 9355839c5b2a

( The integration tests for as7 should pick that up )

Comment 3 Heiko W. Rupp 2012-04-04 10:12:56 UTC
Putting back on dev -- for domain mode those are on server level and not on profile level.

Comment 4 Charles Crouch 2012-04-24 14:57:11 UTC
Metric related issues are not blockers for 4.4

Comment 5 Stefan Negrea 2012-05-10 03:18:45 UTC
This has been fixed as part of bug 806240. 

Datasources resource has been split into three resources based on the parent type (Standalone, Managed, and Profile). Each resource has now only applicable properties, metrics and operations.

Comment 7 Heiko W. Rupp 2013-09-01 10:16:34 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.