Interface Metrics


@Experimental public interface Metrics
Provides driver internal metrics.
  • Method Details

    • connectionPoolMetrics

      Collection<ConnectionPoolMetrics> connectionPoolMetrics()
      Connection pool metrics records metrics of connection pools that are currently in use. As the connection pools are dynamically added and removed while the server topology changes, the metrics collection changes over time.
      Returns:
      Connection pool metrics for all current active pools.