Javamelody is amazing tool for live monitoring. It has great Grails plugin which makes it very easy to use. Only issue I had with it is SQL monitoring configuration.
According to documentation there are several ways to configure data sources:
So only specifying java command line option worked for me. Otherwise - great tool. It is also possible to specify multiple data sources with command line like:
According to documentation there are several ways to configure data sources:
- magic - you don't have to do anything, it just works
- javamelody.datasources property in GrailsMelodyConfig.groovy - you just specify datasources
- replacing JDBC driver with Javamelody proxy
- specifying java option - javamelody.datasources
So only specifying java command line option worked for me. Otherwise - great tool. It is also possible to specify multiple data sources with command line like:
-Djavamelody.datasources=java:comp/env/ds1,java:comp/env/ds2
Hi,
ReplyDeleteSee also the following, with a possible workaround:
http://jira.grails.org/browse/GPMELODY-9
A patch of the plugin to fix the issue would be great.