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']