Skip to content

Commit

Permalink
update-ngm-reload-for-dashboard (#8542) (#8550)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Mar 2, 2022
1 parent f4a7f6c commit 2475954
Showing 1 changed file with 22 additions and 6 deletions.
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

0 comments on commit 2475954

Please sign in to comment.