Skip to content
Snippets Groups Projects
Verified Commit 59a3f340 authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

[prometheus] Sort server list

parent 1c266d8a
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
# Prometheus targets.json
prometheus_targets:
- 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}
targets: ['localhost:9090']
prometheus_ups_snmp_targets:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment