private String getMonitoringData(String metricName) {
Collection monitors = DefaultMonitorRegistry.getInstance()
.getRegisteredMonitors();
for (Object m : monitors) {
if (CompositeMonitor.class.isInstance(m)) {
CompositeMonitor monitor = (CompositeMonitor) m;
List<Monitor> monitorsList = monitor.getMonitors();
for (Monitor m1 : monitorsList) {
if (metricName.equalsIgnoreCase(m1.getConfig().getName())) {
return m1.getValue() + "";
}