added metrics into jmx and console views