@Override
  public List<String> getMetricPrometheusReporterContents(String authHeader) {
    final List<String> result = new ArrayList<>();
    // get all report content of confignodes
    for (final ConfigNodeWrapper configNode : this.configNodeWrapperList) {
      final String configNodeMetricContent =
          getUrlContent(
              Config.IOTDB_HTTP_URL_PREFIX
                  + configNode.getIp()
                  + ":"
                  + configNode.getMetricPort()
                  + "/metrics",
              authHeader);
      result.add(configNodeMetricContent);
    }
    // get all report content of datanodes
    for (final DataNodeWrapper dataNode : this.dataNodeWrapperList) {
      final String dataNodeMetricContent =
          getUrlContent(
              Config.IOTDB_HTTP_URL_PREFIX
                  + dataNode.getIp()
                  + ":"
                  + dataNode.getMetricPort()
                  + "/metrics",
              authHeader);
      result.add(dataNodeMetricContent);
    }
    return result;
  }
This config object stores the properties set by developers during the test. It will be cleared
after each call of cleanupEnvironment.
integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java