dockerzhang commented on code in PR #504:
URL: https://github.com/apache/inlong-website/pull/504#discussion_r939862245


##########
docs/modules/agent/metrics.md:
##########
@@ -15,16 +15,26 @@ Users can add similar JMX (port and authentication are 
adjusted according to the
 -Dcom.sun.management.jmxremote.ssl=false
 ```
 
+The `agent.properties` file needs to specify the listener class
+```properties
+# The listener of JMX is AgentJmxMetricListener
+agent.domainListeners=org.apache.inlong.agent.metrics.AgentJmxMetricListener
+```
+
 ## Prometheus Configuration 
 You can declare whether to enable Prometheus and HTTPServer port in 
`agent.properties`.
 
 ```properties
-# the default is false
-agent.prometheus.enable=true
-# the default is 8080
-agent.prometheus.exporter.port=8080
+# The listener of Prometheus is AgentPrometheusMetricListener
+agent.domainListeners=org.apache.inlong.agent.metrics.AgentPrometheusMetricListener
+# the default is 9080
+agent.prometheus.exporter.port=9080
 ```
 
+## User-Defined Configuration

Review Comment:
   User-Defined Configuration
   ->
   Custome Configuration



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to