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

update-ngm-reload-for-dashboard (#8542) #8550

Merged
merged 2 commits into from
Mar 2, 2022
Merged
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
28 changes: 22 additions & 6 deletions dashboard/dashboard-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,31 @@ NgMonitoring 是 TiDB v5.4.0 及以上集群中内置的高级监控组件,用
tiup update --all
```

第 2 步:重启 Prometheus 节点
第 2 步:在中控机上,通过 TiUP 添加 ng_port 配置项,然后重启 Prometheus 节点

在中控机上,通过 TiUP 对 Prometheus 节点进行 reload 操作。
1. 以编辑模式打开集群的配置文件:

{{< copyable "shell-regular" >}}
{{< copyable "shell-regular" >}}

```shell
tiup cluster edit-config ${cluster-name}
```

```shell
tiup cluster reload ${cluster-name} --role prometheus
```
2. 在 `monitoring_servers` 下面增加 `ng_port:${port}` 参数:

```
monitoring_servers:
- host: 172.16.6.6
ng_port: ${port}
```

3. 重启 Prometheus 节点:

{{< copyable "shell-regular" >}}

```shell
tiup cluster reload ${cluster-name} --role prometheus
```

执行完以上操作后,在 TiDB Dashboard 上启用持续性能分析特性。如果 NgMonitoring 依然无法加载,请联系 PingCAP 技术支持获取帮助。

Expand Down