public static synchronized void setDetailStatsStatus(boolean enableStats) {
        BrokerSrvStatsHolder.detailStatsClosed = !enableStats;
    }
Set manually the detail statistic status.

@param enableStats  enable or disable the statistic.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/stats/BrokerSrvStatsHolder.java