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) #7739

Merged
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
29 changes: 23 additions & 6 deletions dashboard/dashboard-faq.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB Dashboard FAQ
summary: Learn about the frequently asked questions (FAQs) and answers about TiDB Dashboard.
aliases: ['/docs/dev/dashboard/dashboard-faq/']
---

# TiDB Dashboard FAQ
Expand Down Expand Up @@ -114,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