Extend the platform,
empower your team.
Application server method of pooling and sharing connections to a database.
Extension by DynatraceSeveral OneAgent extensions provide insight into connection pool performance and issues such as connection leaks. The extensions cover the following technologies: Apache Tomcat, Oracle WebLogic, IBM WebSphere Application Server, IBM WebSphere Liberty, and Red Hat JBoss and Wildfly.
This extension collects connection pool performance, usage and availability metrics for Tomcat.
Prerequisites:
To get metric insight:
Java Metric Extensions 2.0 (JMX)
.Below is a complete list of the feature sets provided in this version. To ensure a good fit for your needs, individual metrics can be activated and deactivated by your administrator during configuration.
Metric name | Metric key | Description | Unit |
---|---|---|---|
Borrowed connections | tomcat.connectionPool.borrowedConnections | - | Count |
Reconnected connections | tomcat.connectionPool.reconnectedConnections | - | Count |
Released connections | tomcat.connectionPool.releasedConnections | - | Count |
Returned connections | tomcat.connectionPool.returnedConnections | - | Count |
Metric name | Metric key | Description | Unit |
---|---|---|---|
Max active connections | tomcat.connectionPool.maxActive | Maximum amount of active connections allowed concurrently | Count |
Max idle connections | tomcat.connectionPool.maxIdle | The maximum number of connections that should be kept in the pool at all times | Count |
Max wait time | tomcat.connectionPool.maxWait | The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception | Millisecond |
Minimum idle | tomcat.connectionPool.minIdle | The minimum number of established connections that should be kept in the pool at all times | Count |
Metric name | Metric key | Description | Unit |
---|---|---|---|
Active connections | tomcat.connectionPool.activeConnections | Currently used connections | Count |
Created connections | tomcat.connectionPool.createdConnections | Number of connections created | Count |
Idle connections | tomcat.connectionPool.idleConnections | Number of open but unused connections | Count |
Abandoned connections | tomcat.connectionPool.removeAbandoned | Number of connections that have not been properly released | Count |
Abandoned connection timeout | tomcat.connectionPool.removeAbandonedTimeout | Timeout before an abandoned connection can be removed | Second |
Waiting connection requests | tomcat.connectionPool.waitCount | Number of connection requests currently waiting | Count |
EF1 to EF2 Tomcat Connection Pool conversion: