presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/JdbcModule.java/JdbcModule/createConnectionFactoryWithStats
class JdbcModule:    @Provides
    @Singleton
    @StatsCollecting
    public static ConnectionFactory createConnectionFactoryWithStats(@ForBaseJdbc ConnectionFactory connectionFactory)
    {
        return new StatisticsAwareConnectionFactory(connectionFactory);
    }