Gaurav Rai Mazra
Gaurav Rai Mazra
The idea behind this is to measure the execution time of SQL basically for tracing purposes. There are some built-in support available in MySQL JDBC driver and with Apache JDBC...
Tracing db call means to instrument dalesbred for Spring Cloud Sleuth (distributed tracing system) or any Distributed tracing system like htrace, pinpoint, xtrace.
java.util.logging.Handler will not solve the purpose. Yes, Driver/DataSource level support is something which is more elegant as well as complex to maintain and test. Appreciate for your help.