[
https://jira.jboss.org/jira/browse/JBAS-5529?page=com.atlassian.jira.plug...
]
Charles Crouch commented on JBAS-5529:
--------------------------------------
Just adding the final set to this jira to keep them altogether. Target for CR1.
EJB3 Entity Tree Cache (in addition to availability)
<!--jboss.cache:service=EJB3EntityTreeCache-->
<metric property="NumberOfLocksHeld" displayType="summary"/>
<metric property="NumberOfNodes"
displayType="summary"/>
EJB3 Entity Tree Cache Interceptor (in addition to availability)
<!--jboss.cache:service=EJB3EntityTreeCache,treecache-interceptor=CacheMgmtInterceptor-->
<metric property="HitMissRatio" displayType="summary"
units="percentage"
description="Returns the hit/miss ratio for the cache. This ratio
is defined as hits/(hits + misses)."/>
<metric property="ReadWriteRatio" displayType="summary"
units="percentage"
description="Returns the read/write ratio for the cache. This
ratio is defined as (hits + misses)/stores."/>
<metric property="Hits" displayType="summary"/>
<metric property="Misses" displayType="summary"/>
<metric property="Evictions"
displayType="summary"/>
<metric property="NumberOfLocksHeld"/>
<metric property="NumberOfNodes"/>
<metric property="AverageWriteTime"
units="milliseconds"/>
<metric property="TimeSinceReset" units="seconds"/>
<metric property="AverageReadTime"
units="milliseconds"/>
<metric property="NumberOfNodes"/>
<metric property="Stores"/>
<metric property="NumberOfAttributes"/>
<metric property="ElapsedTime"
units="milliseconds"/>
EJB 1.x or 2.x Entity Bean metrics (in addition to availability)
<!--
jboss.management.local:name=%name%,J2EEServer=Local,J2EEApplication=%j2eeApplication%,EJBModule=%ejbJar%,j2eeType=EntityBean
-->
<metric displayName="Create Calls"
property="{stats.createCount.count}"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Remove Calls"
property="{stats.removeCount.count}"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Method-Ready Beans"
property="{stats.methodReadyCount.current}"
displayType="summary"/>
<metric displayName="Pooled Beans"
property="{stats.pooledCount.current}"
displayType="summary"/>
<metric
property="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}CacheSize}"
displayName="Cache Size"
defaultOn="true"/>
<metric
property="{{jboss.j2ee:jndiName=%name%,plugin=cache,service=EJB}PassivatedCount}"
displayName="Passivated Count"
defaultOn="true"
measurementType="trendsup"/>
<metric
property="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}PoolSize}"
displayName="Current Size"
defaultOn="true"/>
<metric
property="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxPoolSize}"
displayName="Max Size"
defaultOn="true"/>
EJB 1.x or 2.x Message Driven Bean metrics (in addition to availability)
<!--
jboss.management.local:name=%name%,J2EEServer=Local,J2EEApplication=%j2eeApplication%,EJBModule=%ejbJar%,j2eeType=MessageDrivenBean
-->
<metric displayName="Create Calls"
property="{stats.createCount.count}"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Remove Calls"
property="{stats.removeCount.count}"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Method-Ready Beans"
property="{stats.messageCount.count}"
displayType="summary"
measurementType="trendsup"/>
Add support for JBAS, JBossWeb and JBossWeb connector components
----------------------------------------------------------------
Key: JBAS-5529
URL:
https://jira.jboss.org/jira/browse/JBAS-5529
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Charles Crouch
Assignee: Scott M Stark
Fix For: JBossAS-5.1.0.Beta1
We've got support for monitoring and configuring datasource and jms destinations, we
should extend this support so that we can discover and monitor (initially) other resource
types e.g. JBoss AS server instance itself, JBossWeb container (monitoring things like
Total Number of Requests Served) and JBossWeb connectors (collecting stats like Bytes
Received/Bytes Sent).
In the future this could be extended to other services within the appserver (e.g. EJB
container) and also add support for configuring these, however at the moment the above
would be a good start.
Here is an initial list:
JBAS Metrics (in addition to availablity)
<metric property="partitionName" dataType="trait"
displayType="summary"
description="the name of the cluster partition this app server
instance belongs to"/>
<metric displayName="Version Name"
property="jboss.system:type=Server:VersionName"
dataType="trait" displayType="summary"
description="the code name for the this app server instance's
major version (AS 3.2 = WonderLand, AS 4.0 = Zion, AS 4.2 = Trinity, EAP 4.x = EAP, SOA
4.x = SOA)"/>
<metric displayName="Build Date"
property="jboss.system:type=Server:BuildDate"
dataType="trait" displayType="summary"
description="the date this app server was built"/>
<metric displayName="Start Date"
property="jboss.system:type=Server:StartDate"
dataType="trait" displayType="summary"
description="the date and time this app server instance was
started"/>
<metric property="jboss.system:type=ServerInfo:ActiveThreadCount"
displayName="Active Thread Count"
defaultInterval="300000" displayType="summary"
category="throughput"/>
<metric property="jboss.system:type=ServerInfo:ActiveThreadGroupCount"
displayName="Active Thread Group Count"
defaultInterval="300000" defaultOn="true"
category="throughput"/>
<metric property="jboss.system:type=ServerInfo:FreeMemory"
displayName="JVM Free Memory" displayType="summary"
defaultInterval="300000" defaultOn="true"
category="utilization" units="bytes"/>
<metric property="jboss.system:type=ServerInfo:MaxMemory"
displayName="JVM Max Memory"
defaultInterval="1800000" defaultOn="true"
category="utilization" units="bytes"/>
<metric property="jboss.system:type=ServerInfo:TotalMemory"
displayName="JVM Total Memory" displayType="summary"
defaultInterval="300000" defaultOn="true"
category="utilization" units="bytes"/>
<metric property="jboss:service=TransactionManager:TransactionCount"
displayName="Transactions Active"
defaultInterval="300000" defaultOn="true"
category="utilization"/>
<metric property="jboss:service=TransactionManager:CommitCount"
displayName="Transactions Committed" displayType="summary"
measurementType="trendsup"
defaultInterval="600000" defaultOn="true"
category="utilization"/>
<metric property="jboss:service=TransactionManager:RollbackCount"
displayName="Transactions Rolledback" measurementType="trendsup"
defaultInterval="600000" defaultOn="true"
category="utilization"/>
JBossWeb Server
Just need availability
JBossWeb connectors metrics (in addition to availability)
<!-- jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor:maxTime
-->
<metric
property="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:maxTime"
displayName="Maximum Request Time"
description="Maximum time it took to process a request"
units="milliseconds"
defaultOn="true" category="performance"/>
<!--
jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor:requestCount -->
<metric
property="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:requestCount"
displayName="Request count" description="Total number
of requests processed since last restart."
defaultOn="false" category="utilization"
measurementType="trendsup"/>
<!--
jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor:errorCount -->
<metric
property="jboss.web:name=%schema%%dash%%address%-%port%,type=GlobalRequestProcessor:errorCount"
displayName="Error count" description="Number of
errors while processing since last restart."
defaultOn="true" category="utilization"
measurementType="trendsup"/>
<!-- jboss.web:name=http-0.0.0.0-8080,type=ThreadPool:currentThreadsBusy
-->
<metric
property="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadsBusy"
displayName="Threads Active"
defaultOn="true" category="utilization"
displayType="summary"/>
<!-- jboss.web:name=http-0.0.0.0-8080,type=ThreadPool:currentThreadCount
-->
<metric
property="jboss.web:name=%schema%%dash%%address%-%port%,type=ThreadPool:currentThreadCount"
displayName="Threads Allocated"
defaultOn="true" category="utilization"
displayType="summary"/>
JBossWeb vhost metrics (in addition to availability)
<metric property="jboss.web:type=Host,host=%name%:aliases"
displayName="Aliases"
defaultOn="true" dataType="trait" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira