From 854e7df50b49365796151e3ba2ba0b55ef23d5b1 Mon Sep 17 00:00:00 2001 From: Gerson Carneiro <41303675+gersontpc@users.noreply.github.com> Date: Sun, 23 Jun 2019 22:24:47 -0300 Subject: [PATCH] Compacted the yml parameters, same as docker uncomplicating training. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mano, alterei os parĂ¢metros do scrap_configs, deixei igual o do treinamento. --- conf/prometheus/prometheus.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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: