docs: static final Config getConfig(final ArgP argp) throws IOException {
      // load configuration
      final Config config;
      final String config_file = argp.get("--config", "");
      if (!config_file.isEmpty())
        config = new Config(config_file);
      else
        config = new Config(true);
  
      // load CLI overloads
      overloadConfig(argp, config);
      // the auto metric is recorded to a class boolean flag since it's used so
      // often. We have to set it manually after overriding.
      config.setAutoMetric(config.getBoolean("tsd.core.auto_create_metrics"));
      return config;
    }