WildFly DataSource Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page WildFly Database Connection Pools Monitoring to WildFly DataSource Monitoring without leaving a redirect)
Line 8: Line 8:


=JMX Monitoring=
=JMX Monitoring=
JDBC DataSource connection pool and prepared statements statistics are available from the “datasources” subsystem, using the following ObjectNames:


==Connection Pool Statistics==
==Connection Pool Statistics==


"jboss.as:subsystem=datasources,xa-data-source=<ds-name>,statistics=pool"
<pre>
jboss.as:subsystem=datasources,xa-data-source=<ds-name>,statistics=pool
</pre>
 
The following JMX attributes are available:


====ActiveCount====
====ActiveCount====

Revision as of 15:56, 11 May 2017

Internal

Relevance

  • EAP 6.4.10

JMX Monitoring

JDBC DataSource connection pool and prepared statements statistics are available from the “datasources” subsystem, using the following ObjectNames:

Connection Pool Statistics

jboss.as:subsystem=datasources,xa-data-source=<ds-name>,statistics=pool

The following JMX attributes are available:

ActiveCount

AvailableCount

AverageBlockingTime

AverageCreationTime

CreatedCount

DestroyedCount

InUseCount

MaxCreationTime

MaxUsedCount

MaxWaitCount

MaxWaitTime

TimedOut

TotalBlockingTime

TotalCreationTime

Prepared Statements Statistics

"jboss.as:subsystem=datasources,xa-data-source=<ds-name>,statistics=jdbc"

PreparedStatementCacheAccessCount

PreparedStatementCacheAddCount

PreparedStatementCacheCurrentSize

PreparedStatementCacheDeleteCount

PreparedStatementCacheHitCount

PreparedStatementCacheMissCount