hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject [incubator-hudi] branch asf-site updated: [HUDI-653] Add JMX Report Config to Doc (#1370)
Date Fri, 20 Mar 2020 02:16:14 GMT
This is an automated email from the ASF dual-hosted git repository.

leesf pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 434e9c5  [HUDI-653] Add JMX Report Config to Doc (#1370)
434e9c5 is described below

commit 434e9c5c125b018af13ee5308631694660780700
Author: ForwardXu <forwardxu315@gmail.com>
AuthorDate: Fri Mar 20 10:16:03 2020 +0800

    [HUDI-653] Add JMX Report Config to Doc (#1370)
---
 docs/_docs/2_4_configurations.cn.md | 38 ++++++++++++++++++++++++++-------
 docs/_docs/2_4_configurations.md    | 42 +++++++++++++++++++++++++++++--------
 docs/_docs/2_6_deployment.cn.md     |  4 ++--
 docs/_docs/2_6_deployment.md        |  2 +-
 4 files changed, 67 insertions(+), 19 deletions(-)

diff --git a/docs/_docs/2_4_configurations.cn.md b/docs/_docs/2_4_configurations.cn.md
index d1cb780..1b1af05 100644
--- a/docs/_docs/2_4_configurations.cn.md
+++ b/docs/_docs/2_4_configurations.cn.md
@@ -433,29 +433,53 @@ Hudi提供了一个选项,可以通过将对该分区中的插入作为对现
 
     
 ### 指标配置
-能够将Hudi指标报告给graphite。
+配置Hudi指标报告。
 [withMetricsConfig](#withMetricsConfig) (HoodieMetricsConfig) <br/>
 <span style="color:grey">Hudi会发布有关每次提交、清理、回滚等的指标。</span>
 
-#### on(metricsOn = true) {#on} 
+#### GRAPHITE
+
+##### on(metricsOn = true) {#on}
 属性:`hoodie.metrics.on` <br/>
 <span style="color:grey">打开或关闭发送指标。默认情况下处于启用状态。</span>
 
-#### withReporterType(reporterType = GRAPHITE) {#withReporterType} 
+##### withReporterType(reporterType = GRAPHITE) {#withReporterType}
 属性:`hoodie.metrics.reporter.type` <br/>
-<span style="color:grey">指标报告者的类型。默认使用graphite,也是唯一支持的类型。</span>
+<span style="color:grey">指标报告者的类型。默认使用graphite。</span>
 
-#### toGraphiteHost(host = localhost) {#toGraphiteHost} 
+##### toGraphiteHost(host = localhost) {#toGraphiteHost}
 属性:`hoodie.metrics.graphite.host` <br/>
 <span style="color:grey">要连接的graphite主机</span>
 
-#### onGraphitePort(port = 4756) {#onGraphitePort} 
+##### onGraphitePort(port = 4756) {#onGraphitePort}
 属性:`hoodie.metrics.graphite.port` <br/>
 <span style="color:grey">要连接的graphite端口</span>
 
-#### usePrefix(prefix = "") {#usePrefix} 
+##### usePrefix(prefix = "") {#usePrefix}
 属性:`hoodie.metrics.graphite.metric.prefix` <br/>
 <span style="color:grey">适用于所有指标的标准前缀。这有助于添加如数据中心、环境等信息</span>
+
+#### JMX
+
+##### on(metricsOn = true) {#on}
+属性:`hoodie.metrics.on` <br/>
+<span style="color:grey">打开或关闭发送指标。默认情况下处于启用状态。</span>
+
+##### withReporterType(reporterType = JMX) {#withReporterType}
+属性:`hoodie.metrics.reporter.type` <br/>
+<span style="color:grey">指标报告者的类型。</span>
+
+##### toJmxHost(host = localhost) {#toJmxHost}
+属性:`hoodie.metrics.jmx.host` <br/>
+<span style="color:grey">要连接的Jmx主机</span>
+
+##### onJmxPort(port = 1000-5000) {#onJmxPort}
+属性:`hoodie.metrics.graphite.port` <br/>
+<span style="color:grey">要连接的Jmx端口</span>
+
+##### usePrefix(prefix = "") {#usePrefix}
+属性:`hoodie.metrics.jmx.metric.prefix` <br/>
+<span style="color:grey">适用于所有指标的标准前缀。这有助于添加如数据中心、环境等信息</span>
     
 ### 内存配置
 控制由Hudi内部执行的压缩和合并的内存使用情况
diff --git a/docs/_docs/2_4_configurations.md b/docs/_docs/2_4_configurations.md
index 16dacba..abb102b 100644
--- a/docs/_docs/2_4_configurations.md
+++ b/docs/_docs/2_4_configurations.md
@@ -398,29 +398,53 @@ Property: `hoodie.compaction.payload.class` <br/>
 
 
 ### Metrics configs
-Enables reporting of Hudi metrics to graphite.
+Enables reporting on Hudi metrics.
 [withMetricsConfig](#withMetricsConfig) (HoodieMetricsConfig) <br/>
-<span style="color:grey">Hudi publishes metrics on every commit, clean, rollback etc.</span>
+<span style="color:grey">Hudi publishes metrics on every commit, clean, rollback etc.The
following sections list the supported reporters.</span>
 
-#### on(metricsOn = true) {#on} 
-Property: `hoodie.metrics.on` <br/>
+#### GRAPHITE
+
+##### on(metricsOn = true) {#on}
+`hoodie.metrics.on` <br/>
 <span style="color:grey">Turn sending metrics on/off. on by default.</span>
 
-#### withReporterType(reporterType = GRAPHITE) {#withReporterType} 
+##### withReporterType(reporterType = GRAPHITE) {#withReporterType}
 Property: `hoodie.metrics.reporter.type` <br/>
-<span style="color:grey">Type of metrics reporter. Graphite is the default and the
only value suppported.</span>
+<span style="color:grey">Type of metrics reporter.</span>
 
-#### toGraphiteHost(host = localhost) {#toGraphiteHost} 
+##### toGraphiteHost(host = localhost) {#toGraphiteHost}
 Property: `hoodie.metrics.graphite.host` <br/>
 <span style="color:grey">Graphite host to connect to</span>
 
-#### onGraphitePort(port = 4756) {#onGraphitePort} 
+##### onGraphitePort(port = 4756) {#onGraphitePort}
 Property: `hoodie.metrics.graphite.port` <br/>
 <span style="color:grey">Graphite port to connect to</span>
 
-#### usePrefix(prefix = "") {#usePrefix} 
+##### usePrefix(prefix = "") {#usePrefix}
 Property: `hoodie.metrics.graphite.metric.prefix` <br/>
 <span style="color:grey">Standard prefix applied to all metrics. This helps to add
datacenter, environment information for e.g</span>
+
+#### JMX
+
+##### on(metricsOn = true) {#on}
+`hoodie.metrics.on` <br/>
+<span style="color:grey">Turn sending metrics on/off. on by default.</span>
+
+##### withReporterType(reporterType = JMX) {#withReporterType}
+Property: `hoodie.metrics.reporter.type` <br/>
+<span style="color:grey">Type of metrics reporter.</span>
+
+##### toJmxHost(host = localhost) {#toJmxHost}
+Property: `hoodie.metrics.jmx.host` <br/>
+<span style="color:grey">Jmx host to connect to</span>
+
+##### onJmxPort(port = 1000-5000) {#onJmxPort}
+Property: `hoodie.metrics.jmx.port` <br/>
+<span style="color:grey">Jmx port to connect to</span>
+
+##### usePrefix(prefix = "") {#usePrefix}
+Property: `hoodie.metrics.jmx.metric.prefix` <br/>
+<span style="color:grey">Standard prefix applied to all metrics. This helps to add
datacenter, environment information for e.g</span>
     
 ### Memory configs
 Controls memory usage for compaction and merges, performed internally by Hudi
diff --git a/docs/_docs/2_6_deployment.cn.md b/docs/_docs/2_6_deployment.cn.md
index c555b54..e1fcb4b 100644
--- a/docs/_docs/2_6_deployment.cn.md
+++ b/docs/_docs/2_6_deployment.cn.md
@@ -366,7 +366,7 @@ Compaction successfully repaired
 ```
 
 
-## 指标 {#metrics}
+## [指标](cn/docs/configurations.html#指标配置) {#metrics}
 
 为Hudi Client配置正确的数据集名称和指标环境后,它将生成以下graphite指标,以帮助调试hudi数据集
 
@@ -431,4 +431,4 @@ Compaction successfully repaired
  - Job 7 : 实际写入数据(更新 + 插入 + 插入转为更新以保持文件大小)
 
 根据异常源(Hudi/Spark),上述关于DAG的信息可用于查明实际问题。最常遇到的故障是由YARN/DFS临时故障引起的。
-将来,将在项目中添加更复杂的调试/管理UI,以帮助自动进行某些调试。
\ No newline at end of file
+将来,将在项目中添加更复杂的调试/管理UI,以帮助自动进行某些调试。
diff --git a/docs/_docs/2_6_deployment.md b/docs/_docs/2_6_deployment.md
index 6fdd680..ae13e82 100644
--- a/docs/_docs/2_6_deployment.md
+++ b/docs/_docs/2_6_deployment.md
@@ -528,7 +528,7 @@ Compaction successfully repaired
 ```
 
 
-## Monitoring
+## [Metrics](docs/configurations.html#metrics-configs) {#metrics}
 
 Once the Hudi writer is configured with the right table and environment for metrics, it produces
the following graphite metrics, that aid in debugging hudi tables
 


Mime
View raw message