From d949dcef88435d0c21d6855723e07cf3ca18478f Mon Sep 17 00:00:00 2001 From: Bartosz Kupidura Date: Mon, 21 Aug 2017 09:18:58 +0000 Subject: [PATCH] Revert "Add Jenkins to Prometheus targets" This reverts commit db1f492198f1070903e9a21d329ad834cbd27b60. Change-Id: I4db9c61f1061021e02e2e28ce6132449a7cb5586 --- prometheus/files/prometheus.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/prometheus/files/prometheus.yml b/prometheus/files/prometheus.yml index 25c9832..445c476 100644 --- a/prometheus/files/prometheus.yml +++ b/prometheus/files/prometheus.yml @@ -243,10 +243,3 @@ scrape_configs: port: {{ target.port }} {%- endfor %} {%- endif %} - -{%- if grains.get('jenkins_plugins', {}).get('prometheus', {}).get('version', False) %} - - job_name: jenkins - metrics_path: '/prometheus' - static_configs: - - targets: ['{{ pillar.get('jenkins').get('client').get('master').get('host') }}:{{ pillar.get('jenkins').get('client').get('master').get('port') }}'] -{%- endif %}