EditAttachPrintable
r1 - 2013-07-26 - 08:41:37 - JorgeAlbertoDiazYou are here: TWiki >  Deployment Web > SmarterServerDataDictionary > CLMServerMonitoringServiceMonitor

Smarter Server - Service Monitor

Authors: JorgeAlbertoDiaz
Build basis: Collaborative Lifecycle Management 4.0.4

The Service Monitor is responsible for gathering performance information of services' invocations processing and response times; and monitoring whether a particular call exceeds the defined threshold.

JMX Interface Name: com.ibm.team.server.monitoring.management.MonitorRollupMBean
JMX Object Name: team.server.<application public URI context>@<port>:type=Service
JMX Object Name Example: team.server./jts@9443:type=Service

A JMX object of this "type" will be created for each monitored service invocation identified by the specific service method call:

  • Service Monitor JMX Object Name: team.server.<application public URI context>@<port>:type=Service
  • Service JMX Object Name: team.server.<application public URI context>@<port>:type=Service,name="<service method invocation>"

The Service Monitor performance metrics information are rolled up from the performance information from all the individual monitored services methods invocations. Visually, the Service Monitor objects structure is like the following:

   team.server./<URL>@<port>:type=Service
          |
          |
          |---- team.server./<URL>@<port>:type=Service,name="<service1.methodA>"
          |---- team.server./<URL>@<port>:type=Service,name="<service1.methodB>"
          |---- team.server./<URL>@<port>:type=Service,name="<service2.methodC>"
          |---- team.server./<URL>@<port>:type=Service,name="<service2.methodD>"
                                ...    
   

Monitor Attributes

Following are the attributes exposed by the Request Monitor

JMX Attribute JMX Type Is Writeable? Default Value Description
AverageResponseTime long No 0 Average response time from all the monitored services invocations
Count long No 0 Counter of all monitored operations
Duration long No 0 Total duration of monitored services invocations processing
Enabled boolean Yes false Whether this monitor is enabled. Default is disabled (false), so no performance monitoring of services calls is performed
MaximumResponseTime long No 0 Maximum response time of a service call from all the monitored ones
MinimumResponseTime long No 0 Minimum response time of a service call from all the monitored ones
Threshold java.lang.Long Yes 10000 Defines the maximum allowed time for a service call to be processed. If this time is exceeded a problem will be generated
TimeSinceLastReset long No 0 Total time since the last statistics reset

Note the attributes related with time statistics are expressed in miliseconds

Monitor Operations

JMX Operation Signature Return Type Description
dismissAllProblems() void When called, all the problems tracked by this monitor are dismissed
reset() void When called, resets the statistics of the monitor

Child MBeans

This section gathers information regarding MBeans that are contained within this monitor

Service operation invocation objects

An instance of a monitored service operation invocation. A service operation call is uniquely identified by the qualified name of the service and method used in the invocation. When the service monitor determines that a service operation call has finished it will record the duration and rollup metrics.

JMX Interface Name: com.ibm.team.server.monitoring.jmx.beans.ServiceMBean
JMX Object Name: team.server.<application public URI context>@<port>:type=Service,name="<service method invocation>"
JMX Object Name Example: team.server./jts@9443:type=Service,name="com.ibm.team.repository.service.internal.ContributorService.fetchContributorByUserId"

It is important to note that a service operation invocation can be result of a user action, an application scheduled task or internal invocations between the different server services. All of these are tracked and monitored.

Attributes

JMX Attribute JMX Type Is Writeable? Default Value Description
AverageResponseTime long No 0 Average response time for all the monitored invocations of this service operation
Count long No 0 Counter of all monitored operations
Duration long No 0 Total duration sum of the duration of the individual monitored invocations
MaximumResponseTime long No 0 Maximum response time of the monitored service operation calls
MinimumResponseTime long No 0 Minimum response time of the monitored service operation calls
TimeSinceLastReset long No 0 Total time since the last statistics reset

Note the attributes related with time statistics are expressed in miliseconds

Operations

JMX Operation Signature Return Type Description
reset() void When called, resets the statistics of this monitored service operation



External links:

Additional contributors: TWikiUser, TWikiUser

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions...
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Ideas, requests, problems regarding the Deployment wiki? Create a new task in the RTC Deployment wiki project