On grails 2 it provides a bean called dataSourceUnproxied, that lets the application fetch the information on currently active no. of connection in the pooled datasource with