5608057 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

How to monitor JDBC Connection pool in a Graph #445

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi 
we use JDBC Connection Pool inside of tomcat.
In th Javamelody I found the mbean 
 context=/my_war,engine=Catalina,type=ConnectionPool,host=localhost,class=org.apache.tomcat.jdbc.pool.DataSource

Here I see the values where I am interested in "NumActive", "NumIdle"
This are only snap shot values.
I need a graph to monitor this values over time.
Is this posible ?

Regards

Stephan

Original issue reported on code.google.com by StephanK...@googlemail.com on 21 Nov 2014 at 7:57

GoogleCodeExporter commented 8 years ago
If you have jdbc monitoring, you already have a graph of opened jdbc 
connections.
If that's not enough and you want graphs of some mbean values over time, then 
there is another issue for this (issue 384).
So this is issue is a duplicate.

Meanwhile, you may be able to make a graph by yourself in Munin or others, 
using the external api:
https://code.google.com/p/javamelody/wiki/ExternalAPI#jmxValue

Original comment by evernat@free.fr on 23 Nov 2014 at 10:31