This is an automated email from the ASF dual-hosted git repository.
albumenj 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 09d945f342 add reference (#2309)
09d945f342 is described below
commit 09d945f3421c872796de7dd015c45a43c8d4ee97
Author: mfordjody <[email protected]>
AuthorDate: Sat Feb 25 17:55:32 2023 +0800
add reference (#2309)
---
.../overview/reference/integrations/_index.md | 5 +--
.../overview/reference/integrations/grafana.md | 43 ++++++++++++++++++++
.../overview/reference/integrations/prometheus.md | 44 +++++++++++++++------
static/imgs/v3/reference/integrations/grafana.jpg | Bin 0 -> 391951 bytes
.../imgs/v3/reference/integrations/prometheus.jpg | Bin 0 -> 28564 bytes
5 files changed, 77 insertions(+), 15 deletions(-)
diff --git a/content/zh-cn/overview/reference/integrations/_index.md
b/content/zh-cn/overview/reference/integrations/_index.md
old mode 100755
new mode 100644
index 67de03eee2..445de2c4e4
--- a/content/zh-cn/overview/reference/integrations/_index.md
+++ b/content/zh-cn/overview/reference/integrations/_index.md
@@ -1,9 +1,8 @@
-
---
type: docs
title: "集成适配"
linkTitle: "集成适配"
description: ""
-weight: 30
-no_list: true
+weight: 1
---
+
diff --git a/content/zh-cn/overview/reference/integrations/grafana.md
b/content/zh-cn/overview/reference/integrations/grafana.md
new file mode 100644
index 0000000000..717e1d35ee
--- /dev/null
+++ b/content/zh-cn/overview/reference/integrations/grafana.md
@@ -0,0 +1,43 @@
+---
+type: docs
+title: "Grafana"
+linkTitle: "Grafana"
+description: "配置 Grafana 与 Dubbo 一起工作"
+weight: 3
+---
+### Linux
+下载项目至本地到切换指定项目
+```bash
+wget https://dl.grafana.com/oss/release/grafana-9.3.6-1.x86_64.rpm && yum
install -y grafana-9.3.6-1.x86_64.rpm
+```
+
+启动服务
+```bash
+systemctl daemon-reload && systemctl enable --now grafana-server
+```
+
+访问页面
+
+`http://localhost:3000` 默认用户名与密码为`admin`
+
+
+
+### Kubernetes
+下载项目至本地到切换指定项目
+```bash
+git clone https://github.com/apache/dubbo-admin.git && cd
dubbo-admin/kubernetes/grafana
+```
+
+创建项目
+```bash
+kubectl create -f .
+```
+
+获取登录信息
+```bash
+kubectl get secrets grafana -o jsonpath="{.data.admin-user}" | base64 --decode
; echo && kubectl get secrets grafana -o jsonpath="{.data.admin-password}" |
base64 --decode ; echo
+```
+访问页面
+
+`http://localhost:3000`
+
\ No newline at end of file
diff --git a/content/zh-cn/overview/reference/integrations/prometheus.md
b/content/zh-cn/overview/reference/integrations/prometheus.md
index 40c72d39bd..acb39d27c2 100644
--- a/content/zh-cn/overview/reference/integrations/prometheus.md
+++ b/content/zh-cn/overview/reference/integrations/prometheus.md
@@ -1,21 +1,41 @@
---
type: docs
-title: "How to configure Prometheus to work with Dubbo"
-linkTitle: "Prometheus Configuration"
-description: ""
-weight: 30
-no_list: true
+title: "Prometheus"
+linkTitle: "Prometheus"
+description: "配置 Prometheus 与 Dubbo 一起工作"
+weight: 2
---
+## 安装
-// 文档完善中
+### Linux
+下载项目至本地到切换指定项目
+```bash
+wget
https://github.com/prometheus/prometheus/releases/download/v2.42.0/prometheus-2.42.0.linux-amd64.tar.gz
&& tar zxvf prometheus-2.42.0.linux-amd64.tar.gz && mv
prometheus-2.42.0.linux-amd64 prometheus && cd prometheus
+```
-## 安装
-### 选项一:Kubernetes 环境安装
+后台运行
+```bash
+nohup ./prometheus > /dev/null 2>&1 &
+```
+
+访问页面
+`http://localhost:9090`
+
+
+
+### Kubernetes
+下载项目至本地到切换指定项目
+```bash
+git clone https://github.com/apache/dubbo-admin.git && cd
dubbo-admin/kubernetes/prometheus
+```
-### 选项二:普通安装
+创建项目
+```bash
+kubectl create -f .
+```
-## 配置
-### 选项一
+访问页面
+`http://localhost:9090`
+
-### 选项二
diff --git a/static/imgs/v3/reference/integrations/grafana.jpg
b/static/imgs/v3/reference/integrations/grafana.jpg
new file mode 100644
index 0000000000..f326ba421c
Binary files /dev/null and b/static/imgs/v3/reference/integrations/grafana.jpg
differ
diff --git a/static/imgs/v3/reference/integrations/prometheus.jpg
b/static/imgs/v3/reference/integrations/prometheus.jpg
new file mode 100644
index 0000000000..1ace001f92
Binary files /dev/null and
b/static/imgs/v3/reference/integrations/prometheus.jpg differ