When doing distributed, distributed we all know, database and business layer and Controller layer is separated, not in the same machine.
Question:
How do I use Druid to monitor data sources? Currently, I enable monitoring at the Controller layer. Only urls can be monitored, but sql execution cannot be monitored.
I used Druid configuration in the business layer, all invalid, can't monitor, is Druid implemented by monitoring MyBatis annotations, in the logical layer, not on the database?