Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard community deploy&connect updates #1460

Merged
merged 2 commits into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs-2.0/nebula-dashboard/2.deploy-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

| Dashboard 安装包 | Nebula Graph 版本 |
| :----- | :----- |
| [nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz](https://oss-cdn.nebula-graph.com.cn/nebula-graph-dashboard/{{ dashboard.release }}/nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz) | 2.5.1~3.0.0 |
| [nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz](https://oss-cdn.nebula-graph.com.cn/nebula-dashboard/{{ dashboard.release }}/nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz) | 2.5.1~3.0.0 |

## 目录结构说明

执行命令`tar -xvf nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz`解压缩,目录`nebula-dashboard/vendors`内一共有 5 个子目录,说明如下。
执行命令`tar -xvf nebula-dashboard-{{ dashboard.release }}.x86_64.tar.gz`解压缩,目录`nebula-dashboard/vendors`内一共有 4 个子目录,说明如下。

|目录名称|说明|端口号|
|:---|:---|:---|
Expand Down Expand Up @@ -177,12 +177,12 @@ $ nohup ./nebula-httpd &
port: 7003
proxy:
gateway:
target: "127.0.0.1:8080" // change gateway service proxy
target: "127.0.0.1:8090" // nebula-http-gateway 服务的 IP 和端口号。
prometheus:
target: "127.0.0.1:9090" // change prometheus service proxy
target: "127.0.0.1:9090" // Prometheus 服务的 IP 和端口号。
nebulaServer:
ip: "192.168.8.143" // change to nebula graph service ip
port: 9669 // change to nebula graph service port
ip: "192.168.8.143" // 部署 Graph 服务的机器 IP。
port: 9669 // Graph 服务的端口号。
...
```

Expand Down
6 changes: 5 additions & 1 deletion docs-2.0/nebula-dashboard/3.connect-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ Dashboard 部署完成后,可以通过浏览器登录使用 Dashboard。

## 操作步骤

1. 确认`nebula-graph-dashboard`服务所在机器的 IP 地址,在浏览器中输入`<IP>:7003`打开登录页面。
1. 确认`nebula-dashboard`服务所在机器的 IP 地址,在浏览器中输入`<IP>:7003`打开登录页面。

2. 输入 Nebula Graph 数据库的账号和密码,单击登录。

!!! note

输入 Nebula Graph 数据库的账号和密码前,确保在`config.json`文件中配置了部署 Graph 服务的机器 IP。更多信息,参见[部署 Dashboard](2.deploy-dashboard.md)。

- 如果 Nebula Graph 已经启用身份验证,用户可以使用已创建的账号连接 Dashboard。

- 如果 Nebula Graph 未启用身份验证,用户只能使用默认用户`root`和任意密码连接 Dashboard。
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/nebula-dashboard/4.use-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Dashboard 页面主要分为机器、服务、管理三个部分,本文将详

可以查看最近一天的 CPU、内存、负载、磁盘和上下行流量变化情况。

如果需要查看某一项更详细的监控指标,可以单击模块右上角的[眼睛](eye.png) 按钮,或者在左侧单击监控项。
如果需要查看某一项更详细的监控指标,可以单击模块右上角的![眼睛](eye.png) 按钮,或者在左侧单击监控项。

- CPU、内存、负载、磁盘、流量

Expand All @@ -36,7 +36,7 @@ Dashboard 页面主要分为机器、服务、管理三个部分,本文将详

可以查看最近一天各种服务的监控指标变化情况,右上角还可以切换到**版本**页面查看所有服务的 IP 地址和版本。

如果需要查看某一种服务更详细的监控指标,可以单击模块右上角的 ![眼睛](eye.png) 按钮,或者在左侧单击具体服务。
如果需要查看某一种服务更详细的监控指标,可以单击模块右上角的![眼睛](eye.png)按钮,或者在左侧单击具体服务。

!!! note

Expand Down