05 Apr 201901:51 AM - last edited on 23 Nov 202106:05 AM by Karolina_Linda
in some disaster recovery tests we are interested in monitor the time taken to balance from one database instance to another. To do this we want to monitor the time taken to get a database connection form the pool.
AppMon shows the Acqu Time in the pure paths and database dashlets but there's no measure available to chart this. So, one way to achieve the information was putting one sensor in the getConnection method and define one Time measure on it to char the information.
The system gets the connection with WrapperDataSource.getConnection so if we put one sensor in this method we don't see any those calls in the pure paths:
But if we disable the JDBC sensor:
we see all the JDBC calls in the pure paths and database dashlets (but not the aggregations, etc..)