To study the Hagedorn temperature of string near a black hole, we need to calculate the free energy in curved space. This is can be done calculating a torus path integral, but I want to know if an alternative way possible.
The free energy of a single bosonic degree of freedom in flat space is
$$ F=\frac V \beta \int \frac{d^{d-1}k}{(2\pi)^{d-1}} \ln (1- \exp(-\beta E(\mathbf k))).$$
What is the generalization if there is a metric $g_{\mu\nu}$?
I guess one would need to recalculate the spectrum $E$ and then substitute in an expression of the type
$$ F=\frac V \beta \int \frac{d^{d-1}k}{(2\pi)^{d-1}} \sqrt{g}\ln (1- \exp(-\beta E(\mathbf k))).$$