For a metric $$ d s^{2}=\sum_{i=1}^{p} d x_{i}^{2}-\sum_{j=1}^{q} d t_{j}^{2} ,$$ the signature is $(p, q)$.