WildFly DataSource Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * WildFly Monitoring =Relevance= * EAP 6.4.10 =JMX Monitoring= ==Connection Pool Statistics== "jboss.as:subsystem=datasources,x...")
 
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:


* EAP 6.4.10
* EAP 6.4.10
=Overview=
More details about DataSources can be found here: {{Internal|DataSource|DataSource}}


=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====
Line 31: Line 41:
==Prepared Statements Statistics==
==Prepared Statements Statistics==


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


====PreparedStatementCacheAccessCount====
====PreparedStatementCacheAccessCount====

Latest revision as of 14:21, 25 September 2017

Internal

Relevance

  • EAP 6.4.10

Overview

More details about DataSources can be found here:

DataSource

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

The following JMX attributes are available:

PreparedStatementCacheAccessCount

PreparedStatementCacheAddCount

PreparedStatementCacheCurrentSize

PreparedStatementCacheDeleteCount

PreparedStatementCacheHitCount

PreparedStatementCacheMissCount