@Override
  public void addReporterRegistration(
      Consumer<RatisMetricRegistry> reporterRegistration,
      Consumer<RatisMetricRegistry> stopReporter) {
    throw new UnsupportedOperationException("Reporter is disabled from RatisMetricRegistries");
  }
Using RefCountingMap here because of potential duplicate MetricRegistryInfos.
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/metrics/MetricRegistryManager.java