src/main/java/com/github/gquintana/metrics/sql/ConnectionProxyHandler.java
private PreparedStatement prepareStatement(MethodInvocation<Connection> methodInvocation) throws Throwable {
        String sql = methodInvocation.getArgAt(0, String.class);
        PreparedStatement result = (PreparedStatement) methodInvocation.proceed();
        result = proxyFactory.wrapPreparedStatement(result, sql);
        return result;
    }
private PreparedStatement prepareStatement(MethodInvocation<Connection> methodInvocation) throws Throwable {
        String sql = methodInvocation.getArgAt(0, String.class);
        PreparedStatement result = (PreparedStatement) methodInvocation.proceed();
        result = proxyFactory.wrapPreparedStatement(result, sql);
        return result;
    }
Wrap Statement during {@link Connection#prepareStatement(String)} ()}
@param methodInvocation Current {@link Connection#prepareStatement(String)} invocation
@return Proxified {@link PreparedStatement}