pvc-ansible/roles/pvc/templates/zookeeper/prometheus.env.j2

5 lines
207 B
Plaintext
Raw Normal View History

2023-12-10 12:39:35 -05:00
# Zookeeper Prometheus exporter arguments
# {{ ansible_managed }}
2023-12-28 11:54:33 -05:00
ARGS="-zk-hosts='{% for node in pvc_nodes if node.is_coordinator %}{{ node.hostname }}:2181{% if not loop.last %},{% endif %}{% endfor %}'"