You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2021/11/29 06:30:08 UTC

[GitHub] [incubator-inlong-website] dockerzhang commented on a change in pull request #201: [InLong-1853][Feature][Agent] should provide docs for jmx metrics in agent

dockerzhang commented on a change in pull request #201:
URL: https://github.com/apache/incubator-inlong-website/pull/201#discussion_r758068275



##########
File path: i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/architecture.md
##########
@@ -43,6 +43,43 @@ SQL正则分解,转化成多条SQL语句
 这种方式采集属于文件采集,只不过metric采集的时候,单行的数据有格式规范
 
 
+## 4 监控指标配置说明
+
+Agent提供了JMX方式的监控指标能力,监控指标已经注册到MBeanServer
+用户可以在Agent的启动参数中增加如下类似JMX定义(端口和鉴权根据情况进行调整),实现监控指标从远端采集。
+
+```shell
+	-Dcom.sun.management.jmxremote
+	-Djava.rmi.server.hostname=127.0.0.1
+	-Dcom.sun.management.jmxremote.port=9999
+	-Dcom.sun.management.jmxremote.authenticate=false
+	-Dcom.sun.management.jmxremote.ssl=false
+```
+
+Agent指标分为以下几项, 各项的属性分别为:

Review comment:
       it's better to use a table to show all metrics.




-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org