Revert "Add Jenkins to Prometheus targets"
This reverts commit db1f492198
.
Change-Id: I4db9c61f1061021e02e2e28ce6132449a7cb5586
This commit is contained in:
parent
db1f492198
commit
d949dcef88
1 changed files with 0 additions and 7 deletions
|
@ -243,10 +243,3 @@ scrape_configs:
|
||||||
port: {{ target.port }}
|
port: {{ target.port }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- 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 %}
|
|
||||||
|
|
Loading…
Reference in a new issue