protected PrometheusConfig loadPrometheusSecConf(final Ini iniConf) {
        final Profile.Section promSect = iniConf.get(SECT_TOKEN_META_PROMETHEUS);
        PrometheusConfig promConfig = new PrometheusConfig();
        if (promSect == null) {
            return promConfig;
        }
        Set<String> configKeySet = promSect.keySet();
        if (configKeySet.isEmpty()) {
            return promConfig;
        }
        if (TStringUtils.isNotBlank(promSect.get("promEnable"))) {
            promConfig.setPromEnable(getBoolean(promSect, "promEnable"));
        }
        // parse promClusterName configure
        if (TStringUtils.isNotBlank(promSect.get("promClusterName"))) {
            promConfig.setPromClusterName(promSect.get("promClusterName").trim());
        }
        // get prometheus port
        if (TStringUtils.isNotBlank(promSect.get("promHttpPort"))) {
            promConfig.setPromHttpPort(getInt(promSect, "promHttpPort"));
        }
        return promConfig;
    }
Retrieve similar configurations within a set of specific configurations according to the given configuration.

@param section      the section within file to be searched.
@param configFields the set of configurations to be searched.
@param checkItem    the given configuration to be compared.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/fileconfig/AbstractFileConfig.java