diff --git a/conf/prometheus/prometheus.yml b/conf/prometheus/prometheus.yml index 757ddd4..5112928 100644 --- a/conf/prometheus/prometheus.yml +++ b/conf/prometheus/prometheus.yml @@ -13,22 +13,10 @@ alerting: - "alertmanager:9093" scrape_configs: - - job_name: 'prometheus' + - job_name: 'node' scrape_interval: 5s static_configs: - - targets: ['localhost:9090'] - - job_name: 'node-exporter' - dns_sd_configs: - - names: - - 'tasks.node-exporter' - type: 'A' - port: 9100 - - job_name: 'cadvisor' - dns_sd_configs: - - names: - - 'tasks.cadvisor' - type: 'A' - port: 8080 + - targets: ['localhost:9090','cadvisor:8080','node-exporter:9100'] - job_name: 'netdata' metrics_path: '/api/v1/allmetrics' params: