Bug 809622 - [as7] a bunch of DataSource metrics return null values
Summary: [as7] a bunch of DataSource metrics return null values
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHQ 4.4.0
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-04-03 20:20 UTC by Ian Springer
Modified: 2013-09-01 10:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:16:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 806240 0 high CLOSED [as7] Flush datasource for domain only on managed servers 2021-02-22 00:41:40 UTC

Internal Links: 806240

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.


Note You need to log in before you can comment on or make changes to this bug.