prometheus未启动(未加载prometheus.yml文件)

prometheus未启动(未加载prometheus.yml文件),prometheus,prometheus-operator,prometheus-blackbox-exporter,Prometheus,Prometheus Operator,Prometheus Blackbox Exporter,启动普罗米修斯时,我发现以下错误: level=error ts=2021-05-13T04:42:39.652Z caller=main.go:355 msg="Error loading config (--config.file=prometheus.yml)" err="parsing YAML file prometheus.yml: yaml: line 36: did not find expected key" 我想把黑匣子和普罗米修斯结

启动普罗米修斯时,我发现以下错误:

level=error ts=2021-05-13T04:42:39.652Z caller=main.go:355 msg="Error loading config (--config.file=prometheus.yml)" err="parsing YAML file prometheus.yml: yaml: line 36: did not find expected key"
我想把黑匣子和普罗米修斯结合起来

这是我的
prometheus.yml
文件:

#我的全局配置
全球的:
刮水间隔:15s#将刮水间隔设置为每15秒一次。默认值为每1分钟一次。
评估间隔:15s#每15秒评估一次规则。默认值为每1分钟一次。
#刮削超时设置为全局默认值(10秒)。
#Alertmanager配置
提醒:
警报管理员:
-静态\u配置:
-目标:
#-alertmanager:9093
#加载规则一次,并根据全局“评估间隔”定期评估规则。
规则文件:
#-“第一规则.yml”
#-“第二规则.yml”
#仅包含一个要刮取的端点的刮取配置:
#这是普罗米修斯本人。
刮取_配置:
#作业名称作为标签“job=”添加到此配置中的任何时间序列。
-工作名称:“普罗米修斯”
#metrics\u路径默认为“/metrics”
#方案默认为“http”。
静态\u配置:
-目标:['localhost:9090']
-作业\u名称:“节点\u导出器”
静态\u配置:
-目标:['localhost:9100']
-工作名称:“黑盒出口商”
度量\u路径:/probe
参数:
模块:[http_2xx]
静态\u配置:
-目标:
- https://www.google.in
重新标记配置:
-来源标签:[[地址]
目标\标签:\参数\目标
-源标签:[[uuuu参数\u目标]
目标标签:实例
-目标\标签:\地址__
替换:localhost:9115