Revert "Add Jenkins to Prometheus targets"

This reverts commit db1f492198.

Change-Id: I4db9c61f1061021e02e2e28ce6132449a7cb5586
This commit is contained in:
Bartosz Kupidura 2017-08-21 09:18:58 +00:00
parent db1f492198
commit d949dcef88

View file

@ -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 %}