private double convertDuration(final double duration) {
        return duration / this.durationFactor;
    }
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