• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jamon and DB Monitoring

 
Swetha Gun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to use Jamon for monitoring a webapp. The webapp is a tool that we have been using internally. Now we plan to monitor the statistics of the webapp.
I have been able to monitor the HTTP requests on this on tomcat.
I also want to monitor the SQL queries executed.
How can I achieve this ?

Thanks,
Swetha
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jamon comes with a jdbc proxy driver that wraps the underlying driver. Try this and post a message if it doesn't work. http://jamonapi.sourceforge.net/#WhatsNew22
 
Swetha Gun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Steve. I went through that. So all I need to do is change the driver when we try to to get a DB connection. But I guess I cannot use it, because I cannot edit the connection class, as the application I use comes from a third party.
One more question, so can this be used with Hibernate?
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jamon will work in any java app that lets you provide your jdbc driver information. If hibernate or the custom application you mention allow this then jamon should work. I know people use jamon with hibernate.
 
Swetha Gun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Steve. I'll try with Hibernate and let you know how it goes. Thanks for your help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!