Add scrape rule

This commit is contained in:
2019-05-07 16:16:09 +10:00
parent 4c1846670e
commit c960cd1ef2
+7
View File
@@ -33,12 +33,19 @@ scrape_configs:
honor_labels: true
static_configs:
- targets: ["pushgateway:9091"]
- job_name: "dockerhub"
scrape_interval: 300s
honor_labels: true
static_configs:
- targets: ["home.toozhao.com:9170"]
- job_name: "github"
scrape_interval: 300s
honor_labels: true
static_configs:
- targets: ["home.toozhao.com:9171"]
alerting:
alertmanagers:
- scheme: http