JFG-395 Add an ability to configure custom jmx metrics