This is an automated email from the ASF dual-hosted git repository.
vinoth pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 808c07f Travis CI build asf-site
808c07f is described below
commit 808c07f6afa264df56d8e87e90d63860bad1730f
Author: CI <[email protected]>
AuthorDate: Thu May 28 07:42:27 2020 +0000
Travis CI build asf-site
---
content/cn/docs/configurations.html | 56 ++++++++++++++++++++++++++++++-----
content/docs/configurations.html | 59 ++++++++++++++++++++++++++++++++-----
2 files changed, 100 insertions(+), 15 deletions(-)
diff --git a/content/cn/docs/configurations.html
b/content/cn/docs/configurations.html
index 07a5797..0193a27 100644
--- a/content/cn/docs/configurations.html
+++ b/content/cn/docs/configurations.html
@@ -792,9 +792,9 @@ Hudi提供了一个选项,可以通过将对该分区中的插入作为对现
<h4 id="graphite">GRAPHITE</h4>
-<h5 id="on">on(metricsOn = true)</h5>
+<h5 id="on">on(metricsOn = false)</h5>
<p>属性:<code class="highlighter-rouge">hoodie.metrics.on</code> <br />
-<span style="color:grey">打开或关闭发送指标。默认情况下处于启用状态。</span></p>
+<span style="color:grey">打开或关闭发送指标。默认情况下处于关闭状态。</span></p>
<h5 id="withReporterType">withReporterType(reporterType = GRAPHITE)</h5>
<p>属性:<code class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br
/>
@@ -814,9 +814,9 @@ Hudi提供了一个选项,可以通过将对该分区中的插入作为对现
<h4 id="jmx">JMX</h4>
-<h5 id="on">on(metricsOn = true)</h5>
+<h5 id="on">on(metricsOn = false)</h5>
<p>属性:<code class="highlighter-rouge">hoodie.metrics.on</code> <br />
-<span style="color:grey">打开或关闭发送指标。默认情况下处于启用状态。</span></p>
+<span style="color:grey">打开或关闭发送指标。默认情况下处于关闭状态。</span></p>
<h5 id="withReporterType">withReporterType(reporterType = JMX)</h5>
<p>属性:<code class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br
/>
@@ -830,9 +830,51 @@ Hudi提供了一个选项,可以通过将对该分区中的插入作为对现
<p>属性:<code class="highlighter-rouge">hoodie.metrics.graphite.port</code> <br
/>
<span style="color:grey">要连接的Jmx端口</span></p>
-<h5 id="usePrefix">usePrefix(prefix = “”)</h5>
-<p>属性:<code class="highlighter-rouge">hoodie.metrics.jmx.metric.prefix</code>
<br />
-<span style="color:grey">适用于所有指标的标准前缀。这有助于添加如数据中心、环境等信息</span></p>
+<h4 id="datadog">DATADOG</h4>
+
+<h5 id="on">on(metricsOn = false)</h5>
+<p>属性:<code class="highlighter-rouge">hoodie.metrics.on</code> <br />
+<span style="color:grey">打开或关闭发送指标。默认情况下处于关闭状态。</span></p>
+
+<h5 id="withReporterType">withReporterType(reporterType = DATADOG)</h5>
+<p>属性: <code class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br
/>
+<span style="color:grey">指标报告者的类型。</span></p>
+
+<h5 id="withDatadogReportPeriodSeconds">withDatadogReportPeriodSeconds(period
= 30)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.report.period.seconds</code>
<br />
+<span style="color:grey">Datadog报告周期,单位为秒,默认30秒。</span></p>
+
+<h5 id="withDatadogApiSite">withDatadogApiSite(apiSite)</h5>
+<p>属性: <code class="highlighter-rouge">hoodie.metrics.datadog.api.site</code>
<br />
+<span style="color:grey">Datadog API站点:EU 或者 US</span></p>
+
+<h5 id="withDatadogApiKey">withDatadogApiKey(apiKey)</h5>
+<p>属性: <code class="highlighter-rouge">hoodie.metrics.datadog.api.key</code>
<br />
+<span style="color:grey">Datadog API密匙</span></p>
+
+<h5 id="withDatadogApiKeySkipValidation">withDatadogApiKeySkipValidation(skip
= false)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key.skip.validation</code>
<br />
+<span style="color:grey">在通过Datadog API发送指标前,选择是否跳过验证API密匙。默认不跳过。</span></p>
+
+<h5
id="withDatadogApiKeySupplier">withDatadogApiKeySupplier(apiKeySupplier)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key.supplier</code> <br />
+<span style="color:grey">Datadog API 密匙提供者,用来在运行时提供密匙。只有当<code
class="highlighter-rouge">hoodie.metrics.datadog.api.key</code>未设定的情况下才有效。</span></p>
+
+<h5 id="withDatadogApiTimeoutSeconds">withDatadogApiTimeoutSeconds(timeout =
3)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.prefix</code> <br />
+<span style="color:grey">Datadog API超时时长,单位为秒,默认3秒。</span></p>
+
+<h5 id="withDatadogPrefix">withDatadogPrefix(prefix)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.prefix</code> <br />
+<span style="color:grey">Datadog指标前缀。将被加在所有指标名称前,以点间隔。例如:如果设成<code
class="highlighter-rouge">foo</code>,<code
class="highlighter-rouge">foo.</code>将被用作实际前缀。</span></p>
+
+<h5 id="withDatadogHost">withDatadogHost(host)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.host</code> <br />
+<span style="color:grey">Datadog指标主机,将和指标数据一并发送。</span></p>
+
+<h5 id="withDatadogTags">withDatadogTags(tags)</h5>
+<p>属性: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.tags</code> <br />
+<span style="color:grey">Datadog指标标签(逗号分隔),将和指标数据一并发送。</span></p>
<h3 id="内存配置">内存配置</h3>
<p>控制由Hudi内部执行的压缩和合并的内存使用情况
diff --git a/content/docs/configurations.html b/content/docs/configurations.html
index a09d4c6..1b85181 100644
--- a/content/docs/configurations.html
+++ b/content/docs/configurations.html
@@ -752,15 +752,16 @@ HoodieWriteConfig can be built using a builder pattern as
below.</p>
<span style="color:grey">This needs to be same as class used during
insert/upserts. Just like writing, compaction also uses the record payload
class to merge records in the log against each other, merge again with the base
file and produce the final record to be written after compaction.</span></p>
<h3 id="metrics-configs">Metrics configs</h3>
+
<p>Enables reporting on Hudi metrics.
<a href="#withMetricsConfig">withMetricsConfig</a> (HoodieMetricsConfig) <br />
-<span style="color:grey">Hudi publishes metrics on every commit, clean,
rollback etc.The following sections list the supported reporters.</span></p>
+<span style="color:grey">Hudi publishes metrics on every commit, clean,
rollback etc. The following sections list the supported reporters.</span></p>
<h4 id="graphite">GRAPHITE</h4>
-<h5 id="on">on(metricsOn = true)</h5>
+<h5 id="on">on(metricsOn = false)</h5>
<p><code class="highlighter-rouge">hoodie.metrics.on</code> <br />
-<span style="color:grey">Turn sending metrics on/off. on by default.</span></p>
+<span style="color:grey">Turn on/off metrics reporting. off by
default.</span></p>
<h5 id="withReporterType">withReporterType(reporterType = GRAPHITE)</h5>
<p>Property: <code
class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br />
@@ -780,9 +781,9 @@ HoodieWriteConfig can be built using a builder pattern as
below.</p>
<h4 id="jmx">JMX</h4>
-<h5 id="on">on(metricsOn = true)</h5>
+<h5 id="on">on(metricsOn = false)</h5>
<p><code class="highlighter-rouge">hoodie.metrics.on</code> <br />
-<span style="color:grey">Turn sending metrics on/off. on by default.</span></p>
+<span style="color:grey">Turn on/off metrics reporting. off by
default.</span></p>
<h5 id="withReporterType">withReporterType(reporterType = JMX)</h5>
<p>Property: <code
class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br />
@@ -796,9 +797,51 @@ HoodieWriteConfig can be built using a builder pattern as
below.</p>
<p>Property: <code class="highlighter-rouge">hoodie.metrics.jmx.port</code>
<br />
<span style="color:grey">Jmx port to connect to</span></p>
-<h5 id="usePrefix">usePrefix(prefix = “”)</h5>
-<p>Property: <code
class="highlighter-rouge">hoodie.metrics.jmx.metric.prefix</code> <br />
-<span style="color:grey">Standard prefix applied to all metrics. This helps to
add datacenter, environment information for e.g</span></p>
+<h4 id="datadog">DATADOG</h4>
+
+<h5 id="on">on(metricsOn = false)</h5>
+<p><code class="highlighter-rouge">hoodie.metrics.on</code> <br />
+<span style="color:grey">Turn on/off metrics reporting. off by
default.</span></p>
+
+<h5 id="withReporterType">withReporterType(reporterType = DATADOG)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.reporter.type</code> <br />
+<span style="color:grey">Type of metrics reporter.</span></p>
+
+<h5 id="withDatadogReportPeriodSeconds">withDatadogReportPeriodSeconds(period
= 30)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.report.period.seconds</code>
<br />
+<span style="color:grey">Datadog report period in seconds. Default to
30.</span></p>
+
+<h5 id="withDatadogApiSite">withDatadogApiSite(apiSite)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.site</code> <br />
+<span style="color:grey">Datadog API site: EU or US</span></p>
+
+<h5 id="withDatadogApiKey">withDatadogApiKey(apiKey)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key</code> <br />
+<span style="color:grey">Datadog API key</span></p>
+
+<h5 id="withDatadogApiKeySkipValidation">withDatadogApiKeySkipValidation(skip
= false)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key.skip.validation</code>
<br />
+<span style="color:grey">Before sending metrics via Datadog API, whether to
skip validating Datadog API key or not. Default to false.</span></p>
+
+<h5
id="withDatadogApiKeySupplier">withDatadogApiKeySupplier(apiKeySupplier)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key.supplier</code> <br />
+<span style="color:grey">Datadog API key supplier to supply the API key at
runtime. This will take effect if <code
class="highlighter-rouge">hoodie.metrics.datadog.api.key</code> is not
set.</span></p>
+
+<h5 id="withDatadogApiTimeoutSeconds">withDatadogApiTimeoutSeconds(timeout =
3)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.prefix</code> <br />
+<span style="color:grey">Datadog API timeout in seconds. Default to
3.</span></p>
+
+<h5 id="withDatadogPrefix">withDatadogPrefix(prefix)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.prefix</code> <br />
+<span style="color:grey">Datadog metric prefix to be prepended to each metric
name with a dot as delimiter. For example, if it is set to <code
class="highlighter-rouge">foo</code>, <code
class="highlighter-rouge">foo.</code> will be prepended.</span></p>
+
+<h5 id="withDatadogHost">withDatadogHost(host)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.host</code> <br />
+<span style="color:grey">Datadog metric host to be sent along with metrics
data.</span></p>
+
+<h5 id="withDatadogTags">withDatadogTags(tags)</h5>
+<p>Property: <code
class="highlighter-rouge">hoodie.metrics.datadog.metric.tags</code> <br />
+<span style="color:grey">Datadog metric tags (comma-delimited) to be sent
along with metrics data.</span></p>
<h3 id="memory-configs">Memory configs</h3>
<p>Controls memory usage for compaction and merges, performed internally by
Hudi