Or see the first equation under "Local coordinates and matrix representations"
en.wikipedia.org/wiki/Metric_tensor_(general_relativity). And yes I understand that $ds^2$ appears below that, but people are lazy with notation and you will find sources that use $ds^2$ to refer to the actual metric (what wikipedia calls $g$). The sources I linked above all say "the metric is" and then give $ds^2=...$.