Sun GlassFish Enterprise Server v3 Administration Guide

Web Statistics

The web module fits into the tree of objects as shown in Web Tree Hierarchy.

The available web statistics shown in the following sections:

Web Module Servlet Statistics

Use the following dotted name pattern for web module servlet statistics:

server.applications.web-module.virtual-server.servlet.statistic
server.applications.application.web-module.virtual-server.servlet.statistic

The available web module servlet statistics are shown in the following table.

Table 8–36 Web Module Servlet Statistics

Statistic 

Data Type 

Description 

errorcount

CountStatistic 

Cumulative number of cases where the response code is greater than or equal to 400. 

maxtime

CountStatistic 

Maximum amount of time the web container waits for requests. 

processingtime

CountStatistic 

Cumulative value of the amount of time required to process each request. The processing time is the average of request processing times divided by the request count.  

requestcount

CountStatistic 

The total number of requests processed so far.  

servicetime

CountStatistic 

Aggregate response time in milliseconds. 

Web JSP Statistics

Use the following dotted name pattern for web JSP statistics:

server.applications.web-module.virtual-server.statistic
server.applications.application.web-module.virtual-server.statistic

The available web JSP statistics are shown in the following table.

Table 8–37 Web JSP Monitoring Statistics

Statistic 

Data Type 

Description 

jspcount-current

RangeStatistic 

Number of active JSP pages 

jsperrorcount

CountStatistic 

Total number of errors triggered by JSP page invocations  

jspreloadedcount

CountStatistic 

Total number of JSP pages that were reloaded  

totaljspcount

CountStatistic 

Total number of JSP pages ever loaded 

Web Request Statistics

Use the following dotted name pattern for web request statistics:

server.applications.web-module.virtual-server.statistic
server.applications.application.web-module.virtual-server.statistic

The available web request statistics are shown in the following table.

Table 8–38 Web Request Monitoring Statistics

Statistic 

Data Type 

Description 

errorcount

CountStatistic 

Cumulative value of the error count, with error count representing the number of cases where the response code was greater than or equal to 400 

maxtime

CountStatistic 

Longest response time for a request; not a cumulative value, but the largest response time from among the response times 

processingtime

CountStatistic 

Average request processing time, in milliseconds 

requestcount

CountStatistic 

Cumulative number of the requests processed so far 

Web Servlet Statistics

Use the following dotted name pattern for web servlet statistics:

server.applications.web-module.virtual-server.statistic
server.applications.application.web-module.virtual-server.statistic

The available web servlet statistics are shown in the following table.

Table 8–39 Web Servlet Monitoring Statistics

Statistic 

Data Type 

Description 

activeservletsloadedcount

RangeStatistic 

Number of currently loaded servlets 

servletprocessingtimes

CountStatistic 

Cumulative servlet processing times , in milliseconds 

totalservletsloadedcount

CountStatistic 

Cumulative number of servlets that have been loaded into the web module 

Web Session Statistics

Use the following dotted name pattern for web session statistics:

server.applications.web-module.virtual-server.statistic
server.applications.application.web-module.virtual-server.statistic

The available web session statistics are shown in the following table.

Table 8–40 Web Session Monitoring Statistics

Statistic 

Data Type 

Description 

activatedsessionstotal

CountStatistic 

Total number of activated sessions 

activesessionscurrent

RangeStatistic 

Number of currently active sessions 

activesessionshigh

CountStatistic 

Maximum number of concurrently active sessions 

expiredsessionstotal

CountStatistic 

Total number of expired sessions 

passivatedsessionstotal

CountStatistic 

Total number of passivated sessions 

persistedsessionstotal

CountStatistic 

Total number of persisted sessions 

rejectedsessionstotal

CountStatistic 

Total number of rejected sessions 

sessionstotal

CountStatistic 

Total number of sessions created