public Level getStatisticsLevel() {
        return siddhiAppContext.getRootMetricsLevel();
    }
Method to check the Siddhi App statistics level enabled.

@return Level value of Siddhi App statistics state
modules/siddhi-core/src/main/java/io/siddhi/core/SiddhiAppRuntimeImpl.java