title: How to enable Dropwizard Metrics in Play 2.5 HikariCP?
body: <p>HikariCP database connection pool used in Play 2.5 <a href="https://github.com/brettwooldridge/HikariCP/wiki/Dropwizard-Metrics" rel="nofollow">supports Dropwizard Metrics</a>. The recommended approach is to use <code>HikariConfig.setMetricRegistry(MetricRegistry)</code>, but Play does not seem to be using Dependency Injection for HikariConfig.  Is there another option to set MetricRegistry on Play HikariCP?</p>