@Override
        public Map<String, Long> snapshot() {
            Map<String, Long> metricValues = new LinkedHashMap<>();
            MasterSrvStatsHolder.snapShort(metricValues);
            return metricValues;
        }
MasterServiceStatusBean

Master service status metric wrapper class
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/stats/MasterJMXHolder.java