Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5246 Open console support
  3. JBAS-5529

Add support for JBAS, JBossWeb and JBossWeb connector components

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.1.0.Beta1
    • None
    • None
    • None

      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" />

              starksm64 Scott Stark (Inactive)
              ccrouch_jira Charles Crouch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: