If I understand correctly, one way to get the components of a metric tensor (treating it like a matrix here) is to look at the $ds$ interval. Isn't that interval always in terms of sums of $dr^2+d\theta^2$ etc, meaning that the metric tensor will only have nonzero values for $x^ix^j$ when $i=j$?
If this is not the case, can anyone give an example?