Make metrics disablable.

Beyond uses sigar for metrics, but there is a problem to use sigar
library in production mode. So disable it until fix the problem.