healchow commented on a change in pull request #1866:
URL: https://github.com/apache/incubator-inlong/pull/1866#discussion_r759889482



##########
File path: inlong-agent/conf/agent.properties
##########
@@ -101,3 +101,10 @@ channel.memory.capacity=5000
 agent.manager.vip.http.host=
 agent.manager.vip.http.port=
 
+
+
+############################
+# prometheus config
+############################
+# prometheus exporter server default port
+agent.prometheus.exporter.port=8080

Review comment:
       It is recommended to use some infrequently used ports.

##########
File path: 
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/constants/AgentConstants.java
##########
@@ -160,4 +160,7 @@
 
     public static final String AGENT_LOCAL_IP = "agent.local.ip";
 
+    public static final String PROMETHEUS_EXPORTER_PORT = 
"agent.prometheus.exporter.port";
+    public static final int DEFAULT_PROMETHEUS_EXPORTER_PORT = 8080;

Review comment:
       It is recommended to use some infrequently used ports.




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