The first necessary condition is that $\mathrm{tr}(R) = R^1_1+R^2_2 = 0$, otherwise there would be no parallel volume form (and hence no parallel metric). (This is one first-orderfirst-order differential equation on $\nabla$.)
Finally then, $\nabla$ is a metric connection in $U$ if and only if the identity $$ \mathrm{d}H + \mathrm{tr}(\gamma)\,H - H\gamma - {}^t\gamma H = 0 $$ holds. (This works out to be two second-orderis only four second-order differential equations on $\nabla$, since, by construction, the trace of $H^{-1}\mathrm{d}H$ always vanishes by construction. One can check that these four equations are independent.)
Thus, a sufficient condition in this case is comprised by a first-order differential equation on $\nabla$, a strict inequality on the first derivatives of $\nabla$ (which is an open condition), and then twofour second-order differential equations on $\nabla$. Note that this is reasonable because a torsion-free connection depends locallly on $6$ functions of two variables while the metrics depend on $3$ functions of two variables, and one should expect $3 = 6-3$ differential equations to be be needed in a local characterization.