$\theta$-metric space