From e46fa68f52633c4c812314391a0dedffc5ee078d Mon Sep 17 00:00:00 2001 From: S M Y Date: Mon, 2 Dec 2019 13:32:37 +0530 Subject: [PATCH] stack sunbird prometheus scrape interval timeout changes and scrape endpoint fix for secor kafka consumer lag exporter --- ansible/roles/stack-monitor-stateful/templates/prometheus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/stack-monitor-stateful/templates/prometheus.yml b/ansible/roles/stack-monitor-stateful/templates/prometheus.yml index 905836c5fb..03cf28da50 100644 --- a/ansible/roles/stack-monitor-stateful/templates/prometheus.yml +++ b/ansible/roles/stack-monitor-stateful/templates/prometheus.yml @@ -1,6 +1,6 @@ global: scrape_interval: 1m - scrape_timeout: 10s + scrape_timeout: 30s evaluation_interval: 1m {% if cluster_name and cluster_name | length %} # Clustername is defined for multi swarm cluster @@ -71,6 +71,7 @@ scrape_configs: - targets: ['monitor_stateful_log_elasticsearch_exporter:9108'] - job_name: 'kafka-lag-exporter' + metrics_path: /metrics static_configs: - targets: ['kafka-lag-exporter:9308']