Skip to content

Commit fa8597e

Browse files
committed
add monitoring documentation
1 parent b5a685d commit fa8597e

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

docs/modules/zookeeper/pages/usage_guide/monitoring.adoc

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,23 @@
22
:description: The managed ZooKeeper instances are automatically configured to export Prometheus metrics.
33

44
The 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.

0 commit comments

Comments
 (0)