]
Scott M Stark commented on JBAS-5529:
-------------------------------------
The WebServer, connector and thread pool have been added. I don't see an mbean that
provides the vhosts that are available. The vhosts show up as mbeans in a pattern of:
host=xxx,type=Host
and this has an alias property. Is this what your looking for, all Hosts?
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
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: