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

3 lines
55 B
Cheetah

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