Let $(M^3,g)$ be a 3-dim. Riemannian manifold. Suppose there is an atlas of coordinate charts for $M$ such that, in each chart, the metric components can be written as
$$ g_{ij}(x)=R(\theta(x),\phi(x))\,\text{diag}\left(\lambda_1(x),\lambda_2(x),\lambda_3(x)\right)R^\mathsf{T}(\theta(x),\phi(x)), $$
with $R(\theta,\phi)$ the rotation matrix that (in Eucl. space) takes the vector $\hat{\mathbf{k}}=(0,0,1)$ to $(\sin \theta \cos \phi ,\sin \theta \sin \phi ,\cos \theta )$, and $\theta(x),\;\phi(x)$ general (smooth) functions. ($R(\theta,\phi)$ may be written as a $\theta$ rotation around the $y$ the axis followed by a $\phi$ rotation around $z$).
Consider now the metric $\tilde{g}_{ij}(x)=\text{diag}\left(\lambda_1(x),\lambda_2(x),\lambda_3(x)\right)$.
Question Is there a relation between the curvature tensors $\mathsf{Ric}(g_{ij})$ and $\mathsf{Ric}(\tilde{g}_{ij})$ ? In particular, for the case $\lambda_1(x)=\lambda_2(x)=$const. and $\lambda_3(x)$=const., can we factor out the $\lambda_1,\;\lambda_3$ dependence of $\mathsf{Ric}(g_{ij})$ ? In two-dimensions the curvature scalar of $g_{ij}(x)=R(\theta(x))\,\text{diag}\left(\lambda_1,\lambda_2\right)R^\mathsf{T}(\theta(x))$ doesn't depend on the constants, up to a multiplicative factor, so I wonder if something similar happens with one dimension more. A naïve computation of the components of the Ricci tensor seems to indicate that the answer is no, but maybe one can conclude something from more general arguments.