From 47ff2cf37da726da2d643c3bfaa2b947926df9c1 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Tue, 2 Nov 2021 16:18:55 +0100 Subject: [PATCH] update title --- templates/conf/prometheus.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/conf/prometheus.yml.j2 b/templates/conf/prometheus.yml.j2 index 5e026a7..4697d1e 100644 --- a/templates/conf/prometheus.yml.j2 +++ b/templates/conf/prometheus.yml.j2 @@ -164,7 +164,7 @@ scrape_configs: {% if prometheus_blackbox_exporter_http is defined %} {% for target in prometheus_blackbox_exporter_http.values() %} ## http check ## - - job_name: blackbox - url {{ target }} + - job_name: blackbox - url {{ target.service_name }} scrape_interval: 30s scrape_timeout: 10s metrics_path: {{ target.metrics_path }} @@ -185,7 +185,7 @@ scrape_configs: {% if prometheus_blackbox_exporter_ping is defined %} {% for target in prometheus_blackbox_exporter_ping.values() %} ## ping ## - - job_name: blackbox - ping {{ target }} + - job_name: blackbox - ping {{ target.service_name }} scrape_interval: 30s scrape_timeout: 10s params: