mas-chen commented on code in PR #20598:
URL: https://github.com/apache/flink/pull/20598#discussion_r947487427


##########
docs/content.zh/docs/deployment/metric_reporters.md:
##########
@@ -261,18 +261,20 @@ metrics.reporter.stsd.interval: 60 SECONDS
 
 使用 Datadog 时,Flink 运行指标中的任何变量,例如 `<host>`、`<job_name>`、 `<tm_id>`、 
`<subtask_index>`、`<task_name>`、 `<operator_name>`,都会被当作 
`host:localhost`、`job_name:myjobname` 这样的 tag 发送。
 
-<span class="label label-info">注意</span> 按照 Datedog 的 Histograms 
命名约定,Histograms 类的运行指标会作为一系列 gauges 显示(`<metric_name>.<aggregation>`)。
-默认情况下 `min` 即最小值被发送到 Datedog,`sum` 不会被发送。
+<span class="label label-danger">Note</span> For legacy reasons the reporter 
uses _both_ the metric identifier _and_ tags. This redundancy can be avoided by 
enabling `useLogicalIdentifier`.
+
+<span class="label label-info">注意</span> 按照 Datadog 的 Histograms 
命名约定,Histograms 类的运行指标会作为一系列 gauges 显示(`<metric_name>.<aggregation>`)。
+默认情况下 `min` 即最小值被发送到 Datadog,`sum` 不会被发送。
 与 Datadog 提供的 Histograms 相比,Histograms 类的运行指标不会按照指定的发送间隔进行聚合计算。
 
 参数:
 
 - `apikey` - Datadog 的 API KEY。
-- `tags` - (可选的)发送到 Datadog 时将会转换为指标的全局 tag。tag 间只能以逗号分隔。

Review Comment:
   Can we also remove the example in the doc? Can't comment on that line 284
   
   ```
   metrics.reporter.dghttp.tags: myflinkapp,prod
   ```
   
   Same with the english doc
   
   



-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to