Can I monitor JDBC connection pool status using DPM or any other related tool?

We are using  Java microservices. We use Oracle with plain JDBC. We want to monitor how many connections are getting used from the JDBC connection pool. Suppose we have 50 connections in the JDBC pool. We want to monitor though some graph what is the number of currently used connections & details like when a connection is getting acquired & released back to the pool. It will help us in performance optimization. We used to do it in Hibernate by parsing logs something similar to this . But most of our applications don't use Hibernate anymore. And it would be time consuming to check for solutions in plain JDBC or build something new. We are looking for a readymade solution.