public static Counter counter(final String name) {
        return metricRegistry.counter(Requires.requireNonNull(name, "name"));
    }
Return the {@link Counter} registered under this name; or create
and register a new {@link Counter} if none is registered.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/metrics/KVMetrics.java