feat: job specific file sd configs

This commit is contained in:
Iain Learmonth 2026-05-30 13:32:04 +01:00
parent bff8a9b612
commit 5a71d217f6
5 changed files with 14 additions and 9 deletions

View file

@ -1,8 +1,10 @@
---
- targets:
{% for host in groups['cdr_link'] %}
- "{{ host }}:9100"
{% endfor %}
- targets:
- "{{ hostvars[host]['node_exporter_tailscale_ipv4'].stdout }}:9100"
labels:
instance: "{{ host }}"
hostname: "{{ host }}"
job: node
app: link
{% endfor %}