dockerzhang commented on code in PR #5301:
URL: https://github.com/apache/inlong/pull/5301#discussion_r934348831


##########
inlong-agent/conf/agent.properties:
##########
@@ -112,14 +112,13 @@ agent.manager.auth.secretKey=
 
 
 ############################
-# prometheus config
+# metric config
 ############################
-# whether to enable prometheus
-agent.prometheus.enable=true
+metricDomains=Agent
+metricDomains.Agent.domainListeners=org.apache.inlong.agent.metrics.AgentPrometheusMetricHandler

Review Comment:
   `agent.prometheus.enable` be removed. It's better to remove all related 
codes.



-- 
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