One app - multiple databases

32 views
Skip to first unread message

Jaume Vila Serra

unread,
Feb 25, 2021, 10:44:03 AM2/25/21
to javamelody
Hi,
I've a java application that creates different connections to different MySQL databases for each user/client.
Is it possible to set up SQL monitoring with this kind of application? I've seen that you can set up the DataSource in the xml file but you have to specify a database name.

Thanks

Jaume

evernat

unread,
Feb 28, 2021, 9:17:25 AM2/28/21
to javamelody
Hi Jaume,

Yes, it's possible. Either your jdbc datasources are detected automatically from JNDI or from Spring or your jdbc datasources are configured to be monitored in javamelody. Each datasource is monitored for sql requests.

bye,
Emeric
Reply all
Reply to author
Forward
0 new messages