Updated metrics core to disable JMX.