public static synchronized void setStatsStatus(boolean enableStats) {
        WebCallStatsHolder.isManualClosed = !enableStats;
    }
Set manually the statistic status.

@param enableStats  enable or disable the statistic.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/webbase/WebCallStatsHolder.java