Add Prometheus Zookeeper exporter
This commit is contained in:
5
roles/pvc/templates/zookeeper/prometheus.j2
Normal file
5
roles/pvc/templates/zookeeper/prometheus.j2
Normal file
@ -0,0 +1,5 @@
|
||||
# Zookeeper Prometheus exporter arguments
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# Set the zk-hosts to our cluster local IP address as this is where Zookeeper listens
|
||||
ARGS="-zk-hosts='{% for node in pvc_nodes if node.hostname == this_node %}{{ node.cluster_ip }}{% endfor %}:2181'"
|
Reference in New Issue
Block a user