File tree Expand file tree Collapse file tree
docs/modules/zookeeper/pages/usage_guide Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22:description: The managed ZooKeeper instances are automatically configured to export Prometheus metrics.
33
44The managed ZooKeeper instances are automatically configured to export Prometheus metrics.
5- See xref:operators:monitoring.adoc[] for more details.
5+ See xref:operators:monitoring.adoc[window=_blank] for more details.
6+
7+ Depending on the SDP version, different ZooKeeper monitoring systems are used to produce metrics.
8+ Previously, JMX in combination with JMX Exporter was used. Starting with SDP 25.7 the New Metrics System is utilized.
9+ The naming of the metrics differs between the two systems.
10+
11+ == ZooKeeper New Metrics System
12+
13+ Since SDP 25.7 ZooKeeper is configured to provide metrics by utilizing the New Metrics System. More on the New Metrics System in
14+ the https://zookeeper.apache.org/doc/current/zookeeperMonitor.html[ZooKeeper Monitor Guide,window=_blank].
15+
16+ The configuration is located in the `zoo.cfg`:
17+
18+ [source,properties]
19+ ----
20+ metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
21+ metricsProvider.httpPort=9505
22+ ----
23+
24+ The metrics can be accessed by calling the `/metrics` endpoint on the specified port.
You can’t perform that action at this time.
0 commit comments