Compare commits

...

2 Commits

Author SHA1 Message Date
54bf70d336 Enable Prometheus metrics in Zookeeper too 2023-12-10 00:32:37 -05:00
513313d60f Limit FRR Prom exporter to 12+
Package did not exist on Debian 10/11
2023-12-10 00:31:21 -05:00
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@
register: apt_res
retries: 5
until: apt_res is success
when: enable_prometheus_exporters is defined and enable_prometheus_exporters
when: enable_prometheus_exporters is defined and enable_prometheus_exporters and debian_version|int >= 12
- name: install frr configuration
template:

View File

@ -19,6 +19,10 @@ maxClientCnxns=200
autopurge.snapRetainCount=3
autopurge.purgeInterval=1
# Enable Prometheus metrics
metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
metricsProvider.httpPort=9181
# Listen on port 2181 on the cluster IP
clientPort=2181
clientPortAddress={% for node in pvc_nodes if node.hostname == this_node %}{{ node.cluster_ip }}{% endfor %}