Add Prometheus Zookeeper exporter

This commit is contained in:
2023-12-10 12:39:35 -05:00
parent 1eb618e8f3
commit 09eba9de80
4 changed files with 34 additions and 1 deletions

View 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'"