EditAttachPrintable
r1 - 2013-07-18 - 15:16:49 - JorgeAlbertoDiazYou are here: TWiki >  Deployment Web > SmarterServerDataDictionary > CLMServerMonitoringJenaMonitor

Smarter Server - Jena Monitor

Authors: JorgeAlbertoDiaz
Build basis: Collaborative Lifecycle Management 4.0.4

The Jena Monitor is responsible for gathering performance information of SPARQL queries, and monitoring whether a particular query 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=SPARQL
JMX Object Name Example: team.server./jts@9443:type=SPARQL

A JMX object of this "type" will be created for each monitored SPARQL query:

  • Jena Monitor JMX Object Name: team.server.<application public URI context>@<port>:type=SPARQL
  • Jena JMX Object Name: team.server.<application public URI context>@<port>:type=SPARQL,name=&ltQuery>

The Jena Monitor performance metrics information are rolled up from the performance information from all the individual monitored queries. Visually, the Jena Monitor objects structure is like the following:

   team.server./<URL>@<port>:type=SPARQL
          |
          |
          |---- team.server./<URL>@<port>:type=SPARQL,name="<Query>"
          |---- team.server./<URL>@<port>:type=SPARQL,name="<Query2>"
                                ...    
   

Monitor Attributes

Following are the attributes exposed by the Jena Monitor

JMX Attribute JMX Type Is Writeable? Default Value Description
AverageResponseTime long Yes 0 Average response time from all the monitored queries
Count long Yes 0 Counter of all monitored operations
Duration long Yes 0 Total duration of monitored queries processing
Enabled boolean Yes false Whether this monitor is enabled. Default is disabled so no performance monitoring of Jena queries is performed
MaximumResponseTime long Yes 0 Maximum response time of a query processing from all the monitored ones
MinimumResponseTime long Yes 0 Minimum response time of a query processing from all the monitored ones
Threshold java.lang.Long Yes 0 Defines the maximum allowed time for a query 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

Jena Query objects

An instance of a monitored query. A JMX object is created for each query, identified by the query it monitors. The JMX object will monitor and gather performance information of all the executions of this SPARQL query. When a query processing has finished it will record the duration and rollup metrics.

JMX Interface Name: com.ibm.team.server.monitoring.jmx.beans.JenaQueryMBean
JMX Object Name: team.server.<application public URI context>@<port>:type=SPARQL,name=<Query>
JMX Object Name Example: team.server./ccm@9443:type=SPARQL,name="SELECT \?s\nWHERE\n { \?s \?p \?o }\nLIMIT 1\n"

Attributes

JMX Attribute JMX Type Is Writeable? Default Value Description
AverageResponseTime long Yes 0 Average response time of all the query executions
Count long Yes 0 Counter of all monitored operations
Duration long Yes 0 Total processing duration of the query
MaximumResponseTime long Yes 0 Maximum response time it took to process the query
MinimumResponseTime long Yes 0 Minimum response time it took to process the query
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 query



External links:

Additional contributors: TWikiUser, TWikiUser

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 | 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