[zh] Fix wrong header of Prometheus doc (#14325)

* Fix wrong header of p8s doc

* Fix header

* Fix translation
This commit is contained in:
Wilson Wu 2023-12-14 07:43:37 +08:00 committed by GitHub
parent a8fd6ff70d
commit 733087f32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ test: n/a
## 安装 {#installation}
### 选项1快速开始 {#option-1-quick-start}
### 选项 1快速开始 {#option-1-quick-start}
Istio 提供了一个简单地安装示例来快速安装、运行 Prometheus
@ -31,10 +31,10 @@ $ kubectl apply -f {{< github_file >}}/samples/addons/prometheus.yaml
需要获取历史数据。
{{< /warning >}}
### 选项2自定义安装 {option-2-customizable-install}
### 选项 2自定义安装 {#option-2-customizable-install}
阅读 [Prometheus 文档](https://www.prometheus.io/)来在您的环境中安装、
部署 Prometheus。阅读 [Configuration](#configuration)
部署 Prometheus。阅读[配置](#configuration)
来了解更多关于配置、部署 Prometheus 抓取更多 Istio 指标的信息。
## 配置 {#configuration}
@ -85,7 +85,7 @@ Chart 提供的配置。
如果需要,可以在 Pod 上添加 `prometheus.istio.io/merge-metrics: "false"`
来禁用此功能。
### 选项2自定义收集配置 {#option-2-customized-scraping-configurations}
### 选项 2自定义收集配置 {#option-2-customized-scraping-configurations}
要将现有的 Prometheus 示例配置为抓取 Istio 生成的统计信息,需要增加一些 Job。
@ -124,7 +124,7 @@ Chart 提供的配置。
您现有的收集配置仍然可以使用。否则需要将 Prometheus
配置为[使用 Istio 证书收集](#tls-settings)。
#### TLS 设置 {#TLS-settings}
#### TLS 设置 {#tls-settings}
控制平面,网关和 Envoy Sidecar 指标将会作为明文被收集。
但是,应用程序指标将遵循为工作负载配置的任何