Statistics

The following statistics are the default statistics supported by the Tomcat enabler. The enabler uses JMX to retrieve statistic values from MBean attributes on the Tomcat server. You can select and track these statistics from the Component Wizard. Tracked statistics are available for report output. You can also create policy rules based on any tracked statistic.

Apache Tomcat 8.0 Statistics

The following statistics are available from Apache Tomcat application servers:
Name & Description MBean/Attribute Unit
Tomcat Busy Thread Count

The number of busy Threads

Aggregated from the following three underlying statistics:

Catalina:type=ThreadPool,name=http-nio-${container.get BindAddressPrefixForMBeans()}${container.getHTTPPort( )}/ currentThreadsBusy

Catalina:type=ThreadPool,name=http-nio-${container.get BindAddressPrefixForMBeans()}${container.getHTTPSPor t()} / currentThreadsBusy

Catalina:type=ThreadPool,name=ajp-nio-${container.getBi ndAddressPrefixForMBeans()}${container.getAJPPort()} / currentThreadsBusy

Threads

Tomcat Throughput

The number of requests processed per second.

Aggregated from the following three underlying statistics:

Catalina:type=GlobalRequestProcessor,name=http-nio-${container.getBindAddressPrefixForMBeans()}${container.getHTTPPort()} / requestCount

Catalina:type=GlobalRequestProcessor,name=http-nio-${container.getBindAddressPrefixForMBeans()}${container.getHTTPPort()} / requestCount

Catalina:type=GlobalRequestProcessor,name=ajp-nio-${container.getBindAddressPrefixForMBeans()}${container.get AJPPort()} / requestCount

Requests per second

Tomcat Data Throughput

The number of bytes sent per Second.

Aggregated from the following three underlying statistics

Catalina:type=GlobalRequestProcessor,name=http-nio-${container.getBindAddressPrefixForMBeans()}${container.getHTTPPort()} / bytesSent

Catalina:type=GlobalRequestProcessor,name=http-nio-${container.getBindAddressPrefixForMBeans()}${container.getHTTPSPort()} / bytesSent

Catalina:type=GlobalRequestProcessor,name=ajp-nio-${container.getBindAddressPrefixForMBeans()}${container.get AJPPort()} / bytesSent

Bytes per second

Tomcat Active Sessions

The number of active sessions.

Catalina:type=Manager,* / activeSessions Sessions

Tomcat Cache Size

The size of the cache.

Catalina:type=Cache,host=${VIRTUAL_HOST_NAME},* / cacheSize

MB

Tomcat Cache Hit Frequency

The number of cache hits per second.

Catalina:type=Cache,host=${VIRTUAL_HOST_NAME},* / hitsCount

Hits per second

Tomcat JVM Used Memory

Used heap memory.

java.lang:type=Memory / HeapMemoryUsage:used MB

Tomcat JVM Committed Memory

Committed heap memory.

java.lang:type=Memory / HeapMemoryUsage:committed MB

Tomcat JVM Thread Count

The number of threads.

java.lang:type=Threading / ThreadCount Threads

Apache Tomcat 8.5 Statistics

The following statistics are available from Apache Tomcat application servers:
Name & Description MBean/Attribute Unit
Tomcat Busy Thread Count

The number of busy Threads

Aggregated from the following three underlying statistics:

Catalina:type=ThreadPool,name=${container.getHTTPProtocolHandlerName()} / currentThreadsBusy

Catalina:type=ThreadPool,name=${container.getHTTPSProtocolHandlerName()} / currentThreadsBusy

Catalina:type=ThreadPool,name=${container.getAJPProtocolHandlerName()} /currentThreadsBusy

Threads

Tomcat Throughput

The number of requests processed per second.

Aggregated from the following three underlying statistics:

Catalina:type=GlobalRequestProcessor,name=${container.getHTTPProtocolHandlerName()} / requestCount

Catalina:type=GlobalRequestProcessor,name=${container.getHTTPSProtocolHandlerName()} / requestCount

Catalina:type=GlobalRequestProcessor,name=${container.getAJPProtocolHandlerName()} / requestCount

Requests per second

Tomcat Data Throughput

The number of bytes sent per Second.

Aggregated from the following three underlying statistics:

Catalina:type=GlobalRequestProcessor,name=${container.getHTTPProtocolHandlerName()} / bytesSent

Catalina:type=GlobalRequestProcessor,name=${container.getHTTPSProtocolHandlerName()} / bytesSent

Catalina:type=GlobalRequestProcessor,name=${container.getAJPProtocolHandlerName()} / bytesSent

Bytes per second

Tomcat JVM Used Memory

Used heap memory.

java.lang:type=Memory / HeapMemoryUsage:used MB

Tomcat JVM Committed Memory

Committed heap memory.

java.lang:type=Memory / HeapMemoryUsage:committed MB

Tomcat JVM Thread Count

The number of threads.

java.lang:type=Threading / ThreadCount Threads
The following statistics are reported at the archive level for finer grain reporting information that can be used for archive scaling:
Name & Description MBean/Attribute Unit
Tomcat Archive Throughput Catalina:j2eeType=Servlet,name=<servlet>,WebModule=<webmodule>,J2EEApplication=none,J2EEServer=none / requestCount Requests per second
Tomcat Active Archive Sessions

Catalina:type=Manager,context=<path>,host=<listen address> / activeSessions

sessions