Hi Steve,
I was thinking of having a Metrics gathering API for all sorts of 
database-related operations:
- connection acquiring/lease time- connection wait time- transaction durations- 
SQL query logger 
- slow queries threshold- number of queries per transaction threshold
Something similar to https://github.com/vladmihalcea/flexy-pool 

This will ease profiling a Hibernate application and we could have the 
hibernate-core define the integration hooks anda hibernate-metrics module to 
inject the metrics gathering components. This module could use Dropwizard 
Metrics, sinceit supports various Reservoir types and many reporting flavors 
(log, JMX, Graphite).
Hibernate users will get an insight of what's going on in their application, so 
they can better understand what Hibernate doeson their behalf.
What do you think of this?

Vlad MIhalcea 
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to