diff --git a/dockprom/prometheus/prometheus.yml b/dockprom/prometheus/prometheus.yml index 05b3d96..6b61c33 100644 --- a/dockprom/prometheus/prometheus.yml +++ b/dockprom/prometheus/prometheus.yml @@ -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