diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 248522d..ae76a07 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -36,39 +36,18 @@ scrape_configs: static_configs: - targets: ['localhost:9090'] - - job_name: 'cadvisor' # Override the global default and scrape targets from this job every 5 seconds. scrape_interval: 15s - dns_sd_configs: - - names: - - 'tasks.cadvisor' - type: 'A' - port: 8080 - -# static_configs: -# - targets: ['cadvisor:8080'] + static_configs: + - targets: ['cadvisor:8080'] - job_name: 'node-exporter' # Override the global default and scrape targets from this job every 5 seconds. scrape_interval: 15s - dns_sd_configs: - - names: - - 'tasks.node-exporter' - type: 'A' - port: 9100 - -# - job_name: 'pushgateway' -# scrape_interval: 10s -# dns_sd_configs: -# - names: -# - 'tasks.pushgateway' -# type: 'A' -# port: 9091 - -# static_configs: -# - targets: ['node-exporter:9100'] + static_configs: + - targets: ['node-exporter:9100']