itamae/cookbooks/prometheus/files/etc/consul-template.d/prometheus-targets.tmpl

3 lines
56 B
Cheetah

- targets:{{range nodes}}
- {{.Address}}:60000{{end}}