monitoring: fix prometheus instance generation from inventory
no idea why it brokereplace_gw-core01
parent
fcc5e277dd
commit
f01e35c531
|
@ -18,7 +18,7 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9090']
|
- targets: ['localhost:9090']
|
||||||
|
|
||||||
{% for group in groups.keys() | reject('all') | reject('ungrouped') %}
|
{% for group in groups.keys() | difference(['all', 'ungrouped']) %}
|
||||||
- job_name: {{ group }}
|
- job_name: {{ group }}
|
||||||
static_configs:
|
static_configs:
|
||||||
{% for host in groups[group] %}
|
{% for host in groups[group] %}
|
||||||
|
|
Loading…
Reference in New Issue