-
Sub-task
-
Resolution: Done
-
Critical
-
JBossAS-5.1.0.GA
EJB 1.x or 2.x Stateless Session Bean metrics (in addition to availability)
<!-- jboss.management.local:name=%name%,J2EEServer=Local,J2EEApplication=%j2eeApplication%,EJBModule=%ejbJar%,j2eeType=StatelessSessionBean -->
<metric displayName="Create Calls"
property="
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="Pool Size"
property="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}CurrentSize}"/>
<metric displayName="Max Pool Size"
property="{{jboss.j2ee:jndiName=%name%,plugin=pool,service=EJB}MaxSize}"/>
Plus the complex method invocation metrics
<metric property="stats" dataType="calltime" units="milliseconds"
defaultOn="false" defaultInterval="600000" destinationType="Method Name"
description="the minimum, maximum, and average invocation times for each of the methods exposed by this EJB"/>
EJB 1.x or 2.x Stateful Session Bean metrics (in addition to avail):
<!-- jboss.management.local:name=%name%,J2EEServer=Local,J2EEApplication=%j2eeApplication%,EJBModule=%ejbJar%,j2eeType=StatefulSessionBean -->
<metric displayName="Create Calls"
description="Number of creates executed since the last time this EJB's stats were reset"
property="{stats.createCount.count}
"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Remove Calls"
description="Number of removes since the last time this EJB's stats were reset"
property="
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Method-Ready Beans"
description="The count of beans in the method-ready state"
property="{stats.methodReadyCount.current}"
displayType="summary"/>
<metric displayName="Passive Beans"
description="The count of beans in the passivated state"
property="{stats.passiveCount.current}"
displayType="summary"/>
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="
"
displayType="summary"/>
<metric displayName="Pooled Beans"
property="
"
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="
"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Remove Calls"
property="
"
displayType="summary"
measurementType="trendsup"/>
<metric displayName="Method-Ready Beans"
property="
"
displayType="summary"
measurementType="trendsup"/>