The managed ZooKeeper instances are automatically configured to export Prometheus metrics. See operators:monitoring.adoc for more details.
Depending on the SDP version, different ZooKeeper monitoring systems are used to produce metrics. Previously, JMX in combination with JMX Exporter was used. Starting with SDP 25.7 the New Metrics System is utilized. The naming of the metrics differs between the two systems.
Since SDP 25.7 ZooKeeper is configured to provide metrics by utilizing the New Metrics System. More on the New Metrics System in the ZooKeeper Monitor Guide.
The configuration is located in the zoo.cfg:
metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
metricsProvider.httpPort=9505The metrics can be accessed by calling the /metrics endpoint on the specified port.