private void printIfEnabled(final MetricAttribute type, final String status) {
        if (this.disabledMetricAttributes.contains(type)) {
            return;
        }

        this.output.println(status);
    }
Print only if the attribute is enabled

@param type   Metric attribute
@param status Status to be logged
jraft-core/src/main/java/com/alipay/sofa/jraft/util/MetricReporter.java