public MetricConfig getMetricConfig() {
    return metricConfig;
  }
Get property from confignode or datanode.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfigDescriptor.java