[prometheus] Sort server list
parent
1c266d8a59
commit
59a3f340dc
|
@ -5,7 +5,7 @@
|
||||||
# Prometheus targets.json
|
# Prometheus targets.json
|
||||||
prometheus_targets:
|
prometheus_targets:
|
||||||
- labels: {job: node}
|
- labels: {job: node}
|
||||||
targets: "{{ groups['crans'] | map('replace', '.org', '.org:9100') | list }}"
|
targets: "{{ groups['crans'] | map('replace', '.org', '.org:9100') | list | sort }}"
|
||||||
- labels: {job: prometheus}
|
- labels: {job: prometheus}
|
||||||
targets: ['localhost:9090']
|
targets: ['localhost:9090']
|
||||||
prometheus_ups_snmp_targets:
|
prometheus_ups_snmp_targets:
|
||||||
|
|
Loading…
Reference in New Issue