Menu

jamon sql monitoring

Krupa
2015-12-23
2015-12-24
  • Krupa

    Krupa - 2015-12-23

    Hi

    I am new to JAMon .. I doing a POC to see if this would fit our needs. As a start I tried to monitor the SQL and it didnt work for me.
    Here is what I did

    I deployed the jamon war to tomcat..
    Changed my SQL driver as below..
    jdbc.driverClass=com.jamonapi.proxy.JAMonDriver
    jdbc.url=jdbc:jamon:mysql://xxx:3306/igdb?jamonrealdriver=com.mysql.jdbc.Driver

    I can see from my logs that it makes connection through the JAMonDriver

    But when I launch the admin page , none of my sql show up. I click generate code and can see all that dummy SQL data coming up but not mine.Please note I have absolutely no code changes w,r.t JAMon so far

    Should I make any code/ configuration changes to make this work? T

     
  • Steve Souza

    Steve Souza - 2015-12-23

    Make sure you only have the jamon jar in one location. Make sure it is in a shared location that both your app and the jamon admin jar can access it. You probably are reading the jamon data (jamon war) from one copy of the jamon jar and writing your sql data to another copy of the jamon jar (and so this data is not being displayed). That is most likely the problem.

     
  • Krupa

    Krupa - 2015-12-24

    Thank you.. you were right I had the jar inside the war file.. I removed it and it worked good.

     

Log in to post a comment.

MongoDB Logo MongoDB