This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c41ff1827a update link (#2496)
c41ff1827a is described below

commit c41ff1827a8228c5c53872822a5ff3a7c58817b4
Author: Ken Liu <[email protected]>
AuthorDate: Tue Apr 4 17:45:49 2023 +0800

    update link (#2496)
---
 content/zh-cn/overview/reference/integrations/grafana.md    |  2 +-
 content/zh-cn/overview/reference/integrations/prometheus.md |  6 +++---
 content/zh-cn/overview/tasks/observability/prometheus.md    | 13 ++++---------
 3 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/content/zh-cn/overview/reference/integrations/grafana.md 
b/content/zh-cn/overview/reference/integrations/grafana.md
index a9498fd1a7..ff21b4de48 100644
--- a/content/zh-cn/overview/reference/integrations/grafana.md
+++ b/content/zh-cn/overview/reference/integrations/grafana.md
@@ -24,7 +24,7 @@ Grafana 是一种开源的监控解决方案,可用于为 Dubbo 配置可视
 你可以使用 Dubbo 社区提供的示例配置快速安装 Grafana,安装后的 Grafana 提供了社区默认指标面板视图。
 
 ```bash
-kubectl create -f .
+kubectl create -f 
https://raw.githubusercontent.com/apache/dubbo-admin/refactor-with-go/deploy/addons/manifests/grafana.yaml
 ```
 
 你可能需要端口映射获得访问地址 `$ kubectl port-forward service/grafana 3000:3000`,打开浏览器访问页面 
`http://localhost:3000`。
diff --git a/content/zh-cn/overview/reference/integrations/prometheus.md 
b/content/zh-cn/overview/reference/integrations/prometheus.md
index bb7b1a018b..2794d2ee87 100644
--- a/content/zh-cn/overview/reference/integrations/prometheus.md
+++ b/content/zh-cn/overview/reference/integrations/prometheus.md
@@ -13,11 +13,11 @@ weight: 2
 你可以使用 Dubbo 社区提供的示例配置快速安装 Prometheus。
 
 ```bash
-kubectl create -f .
+kubectl create -f 
https://raw.githubusercontent.com/apache/dubbo-admin/refactor-with-go/deploy/addons/manifests/prometheus.yaml
 ```
 > 本安装仅适用于测试或体验使用,生产级别的安装请参考 Prometheus 官方安装文档。
 
-访问页面 `http://localhost:9090`,切换到 graph 视图。
+执行端口映射 `kubectl -n dubbo-system port-forward svc/prometheus-server 
9090:9090`,访问页面 `http://localhost:9090`,切换到 graph 视图。
 
 ![Prometheus](/imgs/v3/reference/integrations/prometheus.jpg)
 
@@ -42,7 +42,7 @@ annotations:
 
 ### 自定义配置
 
-对于已经安装好的 Prometheus 服务,可以通过 Dubbo Admin 提供的 Prometheus http_sd 服务发现接口来配置 Dubbo 
Metrics 采集的目标实例。可以参考 Admin 安装相关文档,安装完成后 Prometheus 侧的配置如下:
+对于已经安装好的 Prometheus 服务,可以通过 Dubbo Admin 提供的 Prometheus http_sd 服务发现接口来配置 Dubbo 
Metrics 采集的目标实例。可以参考 Admin 安装相关文档,安装完成后 Prometheus 侧需要调整的配置如下:
 
 ```yaml
 - job_name: 'dubbo'
diff --git a/content/zh-cn/overview/tasks/observability/prometheus.md 
b/content/zh-cn/overview/tasks/observability/prometheus.md
index 8aee6563e9..9b990a8357 100644
--- a/content/zh-cn/overview/tasks/observability/prometheus.md
+++ b/content/zh-cn/overview/tasks/observability/prometheus.md
@@ -23,19 +23,14 @@ weight: 30
 验证 Prometheus 已经正确部署
 
 ```yaml
-kubectl -n dubbo-system get svc prometheus
-NAME         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
-prometheus   ClusterIP   10.109.160.254   <none>        9090/TCP   4m
+kubectl -n dubbo-system get svc prometheus-server
+NAME                TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
+prometheus-server   ClusterIP   10.109.160.254   <none>        9090/TCP   4m
 ```
 
 ## 查询 Prometheus
 
-获得 Prometheus dashboard 访问地址
-
-```yaml
-$ kubectl port-forward service/prometheus 9090:9090
-```
-
+获得 Prometheus 访问地址 `kubectl port-forward service/prometheus-server 9090:9090`,
 打开浏览器,访问 localhost:9090/graph 即可打开 Prometheus 控制台。
 
 接下来,执行 Prometheus 查询命令。可以在此确认 [Dubbo 支持的 Metrics 
指标](../../../reference/proposals/metrics/)。

Reply via email to