My question is,"When is a singleton set in a metric space open"?
I think the answer will be reached if we can know what metrics induce the discrete topology.
We know that the discrete metric induces the discrete topology.Is there any other metric which induces the same topology?
It seems that the question that you are interested in is: “When is every singleton set in a metric space open?” And the answer is indeed that that's when the metric induces the discrete topology. But you can't deduce from this that the metric is the discrete metric. For instance, in $\mathbb Z$ the usual metric induces the discrete topology too.