Prometheus进阶 自定义http_sd_config 配置方式如下: - job_name: 'http_sd' metrics_path: "/prometheus" http_sd_configs: - url: http://localhost:8080/