报错: field http_sd_configs not found in type config.ScrapeConfig”
msg="Error loading config (--config.file=prometheus.yml)" err="parsing YAML file prometheus.yml: yaml: unmarshal errors:\n line 26: field http_sd_configs not found in type config.ScrapeConfig
解决: 确保 prometheus 版本为 2.0 以上版本,检查语法配置。