CDK-166: Add registerJVMMetrics command that registers metrics related to the Java Virtual Machine