javamelody / grails-melody-plugin

JavaMelody monitoring plugin for Grails, to monitor application performance
https://plugins.grails.org/plugin/grails-melody-plugin
Apache License 2.0
32 stars 31 forks source link

Multiple datasource (default and quartz) logs quartz sql only #67

Open kuceram opened 5 years ago

kuceram commented 5 years ago

Grails: 3.3.8 Grails Melody Plugin: 1.72.0

Having two data sources defined in application.yml I see only quartz (not the default one) sql queries in monitoring console. Interestingly enough on localhost it shows also alter table for default data source (not in production).

I've checked GrailsMelodyPluginGrailsPlugin and it seems that default data source is picked.

When I upgrade this plugin to 1.74.0, sql logs disappear at all.

Am I missing something here?

sergiomichels commented 5 years ago

Hi @kuceram, could you please provide sample application with quartz ds? We can then add to the integration test suite and make sure that we fix this and include regression test.

sergiomichels commented 5 years ago

Can you try with latest version? I believe your main datasource will be wrapper.