private void record(Rate rate, MetricConfig config, int value) {
        rate.record(config, value, time.milliseconds());
    }
Some implementations of SampledStat make sense to return the initial value
when there are no values set
clients/src/test/java/org/apache/kafka/common/metrics/MetricsTest.java