public MetricRegistry getRegistry() {
        return metricRegistry;
    }
Each siddhi app will have one metric registry and placed in siddhi app context
modules/siddhi-core/src/main/java/io/siddhi/core/util/statistics/metrics/SiddhiStatisticsManager.java