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