ZhijieYang commented on a change in pull request #17902:
URL: https://github.com/apache/flink/pull/17902#discussion_r759037380
##########
File path: docs/content.zh/docs/ops/metrics.md
##########
@@ -28,26 +28,26 @@ under the License.
# 指标
-Flink exposes a metric system that allows gathering and exposing metrics to
external systems.
+Flink 公开了一个指标系统,允许收集和公开指标给外部系统。
-## Registering metrics
+## 注册指标
-You can access the metric system from any user function that extends
[RichFunction]({{< ref "docs/dev/datastream/user_defined_functions"
>}}#rich-functions) by calling `getRuntimeContext().getMetricGroup()`.
-This method returns a `MetricGroup` object on which you can create and
register new metrics.
+你可以通过调用从 [RichFunction]({{< ref "docs/dev/datastream/user_defined_functions"
>}}#rich-functions)
+扩展的任何用户函数的 `getRuntimeContext().getMetricGroup()` 方法访问指标系统。
+此方法返回一个 `MetricGroup` 对象,你可以在该对象上创建和注册新指标。
-### Metric types
+## 指标类型
Review comment:

because I think `Registering metrics` and `Metric types` is on the same
level, and after reduce a `#` we can see the details of metric types like this:

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