Update system-metrics.md

This commit is contained in:
wangyysde 2021-03-29 23:06:56 +08:00 committed by GitHub
parent 3ccdb3426a
commit d7f2720616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ System component metrics can give a better look into what is happening inside th
Kubernetes components emit metrics in [Prometheus format](https://prometheus.io/docs/instrumenting/exposition_formats/). Kubernetes components emit metrics in [Prometheus format](https://prometheus.io/docs/instrumenting/exposition_formats/).
This format is structured plain text, designed so that people and machines can both read it. This format is structured plain text, designed so that people and machines can both read it.
--> -->
系统组件指标可以更好地了解系统内部发生的情况。指标对于构建仪表板和告警特别有用。 通过系统组件指标可以更好地了解系统组个内部发生的情况。系统组件指标对于构建仪表板和告警特别有用。
Kubernetes 组件以 [Prometheus 格式](https://prometheus.io/docs/instrumenting/exposition_formats/) Kubernetes 组件以 [Prometheus 格式](https://prometheus.io/docs/instrumenting/exposition_formats/)
生成度量值。 生成度量值。
@ -37,10 +37,10 @@ In most cases metrics are available on `/metrics` endpoint of the HTTP server. F
Examples of those components: Examples of those components:
--> -->
## Kubernetes 中的指标 ## Kubernetes 中组件的指标
在大多数情况下,可以在 HTTP 服务器的 `/metrics` 端点上访问度量值。 在大多数情况下,可以通过HTTP访问组件endpoint的 `/metrics` 路径来获取组件的度量值。
对于默认情况下不公开端点的组件,可以使用 `--bind-address` 标志启用。 对于那些默认情况下不暴露的endpoint的组件,可以使用 `--bind-address` 标志启用。
这些组件的示例: 这些组件的示例: