tisonkun commented on code in PR #2190: URL: https://github.com/apache/zookeeper/pull/2190#discussion_r1774306595
########## zookeeper-docs/src/main/resources/markdown/zookeeperMonitor.md: ########## @@ -41,11 +41,48 @@ All the metrics are included in the `ServerMetrics.java`. <a name="Prometheus"></a> + +### Pre-requisites: +- Enable the `Prometheus MetricsProvider` by setting the following in `zoo.cfg`: + ```bash + metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider + ``` Review Comment: ````suggestion ### Pre-requisites: - Enable the Prometheus MetricsProvider by setting the following in `zoo.cfg`: ```conf metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider ``` ```` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org