@Override
  public void enableConsoleReporter(TimeDuration timeDuration) {
    // We shall disable the Console reporter since we already have one in MetricService
    throw new UnsupportedOperationException(
        "Console 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