1.需要先添加prometheus的默认配置文件
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 sec
2022-06-08