Add JVM info to Zookepeer metric
This commit is contained in:
parent
54bf70d336
commit
23bb3cb4d9
|
@ -22,6 +22,7 @@ autopurge.purgeInterval=1
|
||||||
# Enable Prometheus metrics
|
# Enable Prometheus metrics
|
||||||
metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
|
metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
|
||||||
metricsProvider.httpPort=9181
|
metricsProvider.httpPort=9181
|
||||||
|
metricsProvider.exportJvmInfo=true
|
||||||
|
|
||||||
# Listen on port 2181 on the cluster IP
|
# Listen on port 2181 on the cluster IP
|
||||||
clientPort=2181
|
clientPort=2181
|
||||||
|
|
Loading…
Reference in New Issue