Skip to content
share

Tomcat Monitoring Integration

and get insightful visualizations and timely alerts for your Tomcat server metrics

Integration

Metrics

Metric Name
Key (Type) (Unit)
Description
cache lookups
tomcat.cache.lookups
(long counter)
Number of times the cache was accessed
cache hits
tomcat.cache.hits
(long counter)
Number of times the cache was hit
size
tomcat.cache.size
(long gauge) (bytes)
current cache size
max cache size
tomcat.cache.size.max
(long gauge) (bytes)
The maximum size of the static resource cache
datasource connection init size
tomcat.datasource.init
(long gauge)
The initial number of connections that are created when the pool is started
max active connections
tomcat.datasource.active.max
(long gauge)
The maximum number of active connections that can be allocated from this pool at the same time
max idle datasource connections
tomcat.datasource.idle.max
(long gauge)
The maximum number of connections that should be kept in the pool at all times
min idle datasource connections
tomcat.datasource.idle.min
(long gauge)
The minimum number of established connections that should be kept in the pool at all times
active connections
tomcat.datasource.active
(long gauge)
Current Active
idle datasource connections
tomcat.datasource.idle
(long gauge)
The number of established connections in the pool that are idle
executor active threads
tomcat.executors.active
(long gauge)
Number of threads currently processing a task
executor completed tasks
tomcat.executors.tasks.completed
(long counter)
Number of tasks completed by the executor
executor core thread pool size
tomcat.executors.core
(long gauge)
Core size of the thread pool
executor max queue size
tomcat.executors.queue.size.max
(long gauge)
Maximum number of tasks for the pending task queue
max executor threads
tomcat.executors.max
(long gauge)
Maximum number of allocated threads
min spare executor threads
tomcat.executors.spare.min
(long gauge)
Minimum number of allocated threads
executor threads pool size
tomcat.executors.pool
(long gauge)
Number of threads in the pool
executor queue
tomcat.executors.queue.size
(long gauge)
Number of tasks waiting to be processed
requests
tomcat.requests
(long counter)
Cumulative request count of the Apache Tomcat container
bytes received
tomcat.requests.transfer.rx.bytes
(long counter) (bytes)
Bytes received by all the request processors running on the Apache Tomcat container (without headers)
bytes sent
tomcat.requests.transfer.tx.bytes
(long counter) (bytes)
Bytes sent by all the request processors running on the Apache Tomcat (without headers)
req processing time
tomcat.requests.processing.time
(long counter) (ms)
Cumulated processing time
error requests
tomcat.requests.errors
(long counter)
Error count on all the request processors running on the Apache Tomcat container
jsp loaded count
tomcat.jsp.loaded
(long counter)
The number of JSPs that have been loaded into a webapp
jsp reload count
tomcat.jsp.reloaded
(long counter)
The number of JSPs that have been reloaded
jsp unload count
tomcat.jsp.unloaded
(long counter)
The number of JSPs that have been unloaded
session average alive time
tomcat.sessions.alive.time
(long gauge) (ms)
Average time an expired session had been alive
rejected sessions
tomcat.sessions.rejected
(long counter)
How often was a configured maxActiveSessions limit reached
session max alive time
tomcat.sessions.alive.time.max
(long gauge) (ms)
Measured from session creation to expiration (be it logout or session idle timeout)
session processing time
tomcat.sessions.processing.time
(long counter) (ms)
Total processing time since startup
active sessions
tomcat.sessions.active
(long gauge)
Number of active sessions at this moment
expired sessions
tomcat.sessions.expired
(long counter)
Number of sessions that expired (doesn't include explicit invalidations)
max active sessions
tomcat.sessions.active.max
(long gauge)
Max number of concurrent active sessions
created sessions
tomcat.sessions
(long counter)
Total number of sessions created since startup
current busy threads
tomcat.threads.busy
(long gauge)
Thread pool usage. Current worker threads busy count
current threads
tomcat.threads
(long gauge)
Thread pool usage. Current worker threads count
max threads
tomcat.threads.max
(long gauge)
Additional threads will be created up to the configured maximum
poller thread count
tomcat.threads.pollers
(long gauge)
The number of threads used to poll kept alive connections
acceptor threads
tomcat.threads.acceptors
(long gauge)
The number of threads to be used to accept connections
max connections
tomcat.connections.max
(long gauge)
The maximum number of connections that the server will accept and process at any given time
connections
tomcat.connections
(long gauge)
The current count of connections handled by this endpoint
max servlet processing time
tomcat.web.execution.time.max
(long gauge) (ms)
Maximum execution time of all servlets in this context
servlet errors
tomcat.web.errors
(long counter)
Cumulative error count of all servlets in this context
servlets processing time
tomcat.web.execution.time.total
(long counter) (ms)
Cumulative execution times of all servlets in this context
min servlet processing time
tomcat.web.execution.time.min
(long gauge) (ms)
Minimum execution time of all servlets in this context
servlet requests
tomcat.web.requests
(long counter)
Cumulative request count of all servlets in this context