File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how to collect all data from jamon jdbc proxy driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to collect all data from jamon jdbc proxy driver" Watch "how to collect all data from jamon jdbc proxy driver" New topic
Author

how to collect all data from jamon jdbc proxy driver

mike packard
Greenhorn

Joined: Aug 13, 2008
Posts: 1
Hello

I am using the jamon jdbc proxy driver to collect information about my application.

There are many connections opening and closing throughout. I have successfully inserted the proxy driver, but when I try to print out the stats about them, they are not aggregated. I only get info for one connection at a time. How can I access all the stats that the driver has collected, not just for a single connection?

Here is what I'm doing to retrieve the info from jamon:

Object[][] sql_detail = MonProxyFactory.getSQLDetail();
String[] sql_detail_header = MonProxyFactory.getSQLDetailHeader();

Thanks in advance for any help you can provide.

Mike
[ August 13, 2008: Message edited by: mike packard ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to collect all data from jamon jdbc proxy driver
 
Similar Threads
How to log Connection pooling of database using log4j ?
JDBC monitoring
how JaMon is helpful for web application?
JAMon 2.1 and Monitoring SQL/JDBC
Monitoring JDBC connection