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 #7726

Merged
merged 3 commits into from
Mar 3, 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 @@ -115,15 +115,31 @@ Step 1. Check versions
tiup update --all
```

Step 2. Reload Prometheus
Step 2. Add the ng_port configuration item on the control machine by using TiUP. Then reload Prometheus.

On the control machine, reload Prometheus by using TiUP:
1. Open the cluster configuration file in editing mode:

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

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

```shell
tiup cluster reload ${cluster-name} --role prometheus
```
2. Under `monitoring_servers`, add the `ng_port:${port}` parameter:

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

3. Reload Prometheus:

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

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

After performing the preceding steps, enable Continuous Profiling on TiDB Dashboard. If NgMonitoring still fails to be started, contact PingCAP technical support for help.

Expand Down