-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 dashboard-metrics-relation.md #12385
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: Aolin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
4. 设置基线开始时间,即想要对比的系统正常时段的开始时间,如 2020-05-21 14:30:00。 | ||
5. 点击开始。 | ||
1. 设置区间的开始时间,即异常时间段的开始时间,如 2022-05-21 14:40:00。 | ||
2. 设置区间长度 (Range Duration)。一般只系统异常的持续时间,例如 5 min。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. 设置区间长度 (Range Duration)。一般只系统异常的持续时间,例如 5 min。 | |
2. 设置区间长度 (Range Duration)。一般指系统异常的持续时间,例如 5 min。 |
@@ -63,7 +63,7 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
|
|||
### 设置 | |||
|
|||
首次使用流量可视化页面需要先通过**设置**页面手动开启此功能。参考页面指引,点击 **Open Settings**(打开设置)即可打开设置页面: | |||
首次使用流量可视化页面需要先通过**设置**页面手动开启此功能。参考页面指引,点击 **打开设置** (Open Settings) 即可打开设置页面: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
首次使用流量可视化页面需要先通过**设置**页面手动开启此功能。参考页面指引,点击 **打开设置** (Open Settings) 即可打开设置页面: | |
首次使用流量可视化页面需要先通过**设置**页面手动开启此功能。参考页面指引,点击**打开设置** (Open Settings) 即可打开设置页面: |
@@ -11,9 +11,9 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
|
|||
可以通过以下两种方法访问 Key Visualizer 流量可视化页面: | |||
|
|||
* 登录 TiDB Dashboard 后,点击左侧导航条的 **Key Visualizer**(流量可视化): | |||
* 登录 TiDB Dashboard 后,点击左侧导航条的 **流量可视化** (Key Visualizer): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 登录 TiDB Dashboard 后,点击左侧导航条的 **流量可视化** (Key Visualizer): | |
* 登录 TiDB Dashboard 后,点击左侧导航条的**流量可视化** (Key Visualizer): |
@@ -75,7 +75,7 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
|
|||
 | |||
|
|||
通过开关设定好是否开启收集,并点击 **Save**(保存)后生效。开启后,在界面上观察到工具栏已经可以使用: | |||
通过开关设定好是否开启收集,并点击 **保存** (Save) 后生效。开启后,在界面上观察到工具栏已经可以使用: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通过开关设定好是否开启收集,并点击 **保存** (Save) 后生效。开启后,在界面上观察到工具栏已经可以使用: | |
通过开关设定好是否开启收集,并点击**保存** (Save) 后生效。开启后,在界面上观察到工具栏已经可以使用: |
@@ -86,12 +86,12 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
打开流量可视化页面时,默认会显示最近六小时整个数据库内的热力图。其中,越靠近右侧(当前时间)时,每列 Bucket 对应的时间间隔会越小。如果你想观察某个特定时间段或者特定的 Region 范围,则可以通过放大来获得更多细节。具体操作描述如下: | |||
|
|||
* 在热力图中向上或向下滚动。 | |||
* 点击 **Select & Zoom**(框选)按钮,然后点击并拖动以选择要放大的区域。 | |||
* 点击 **框选** (Select & Zoom) 按钮,然后点击并拖动以选择要放大的区域。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 点击 **框选** (Select & Zoom) 按钮,然后点击并拖动以选择要放大的区域。 | |
* 点击**框选** (Select & Zoom) 按钮,然后点击并拖动以选择要放大的区域。 |
|
||
 | ||
|
||
* 点击 **Reset**(重置)按钮,将 Region 范围重置为整个数据库。 | ||
* 点击「时间选择框」(界面的 **6 hours** 处),重新选择观察时间段。 | ||
* 点击 **重置** (Reset) 按钮,将 Region 范围重置为整个数据库。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 点击 **重置** (Reset) 按钮,将 Region 范围重置为整个数据库。 | |
* 点击**重置** (Reset) 按钮,将 Region 范围重置为整个数据库。 |
@@ -101,7 +101,7 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
|
|||
### 调整亮度 | |||
|
|||
热力图使用颜色的明暗来表达一个 Bucket 的流量高低,颜色越暗 (cold) 表示该区域的 Region 在这个时间段上读写流量较低,颜色越亮 (hot) 表示读写流量越高,即越热。如果热力图中的颜色太亮或太暗,则可能很难观察到细节。此时,可以点击 **Brightness**(调整亮度)按钮,然后通过滑块来调节页面的亮度。 | |||
热力图使用颜色的明暗来表达一个 Bucket 的流量高低,颜色越暗 (cold) 表示该区域的 Region 在这个时间段上读写流量较低,颜色越亮 (hot) 表示读写流量越高,即越热。如果热力图中的颜色太亮或太暗,则可能很难观察到细节。此时,可以点击 **调整亮度** (Brightness) 按钮,然后通过滑块来调节页面的亮度。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
热力图使用颜色的明暗来表达一个 Bucket 的流量高低,颜色越暗 (cold) 表示该区域的 Region 在这个时间段上读写流量较低,颜色越亮 (hot) 表示读写流量越高,即越热。如果热力图中的颜色太亮或太暗,则可能很难观察到细节。此时,可以点击 **调整亮度** (Brightness) 按钮,然后通过滑块来调节页面的亮度。 | |
热力图使用颜色的明暗来表达一个 Bucket 的流量高低,颜色越暗 (cold) 表示该区域的 Region 在这个时间段上读写流量较低,颜色越亮 (hot) 表示读写流量越高,即越热。如果热力图中的颜色太亮或太暗,则可能很难观察到细节。此时,可以点击**调整亮度** (Brightness) 按钮,然后通过滑块来调节页面的亮度。 |
@@ -121,7 +121,7 @@ aliases: ['/docs-cn/dev/dashboard/dashboard-key-visualizer/','/docs-cn/dev/how-t | |||
|
|||
### 刷新与自动刷新 | |||
|
|||
可以通过点击 **Refresh**(刷新)按钮来重新获得基于当前时间的热力图。当需要实时观察数据库的流量分布情况时,可以点击按钮右侧的向下箭头,选择一个固定的时间间隔让热力图按此间隔自动刷新。 | |||
可以通过点击 **刷新** (Refresh) 按钮来重新获得基于当前时间的热力图。当需要实时观察数据库的流量分布情况时,可以点击按钮右侧的向下箭头,选择一个固定的时间间隔让热力图按此间隔自动刷新。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以通过点击 **刷新** (Refresh) 按钮来重新获得基于当前时间的热力图。当需要实时观察数据库的流量分布情况时,可以点击按钮右侧的向下箭头,选择一个固定的时间间隔让热力图按此间隔自动刷新。 | |
可以通过点击**刷新** (Refresh) 按钮来重新获得基于当前时间的热力图。当需要实时观察数据库的流量分布情况时,可以点击按钮右侧的向下箭头,选择一个固定的时间间隔让热力图按此间隔自动刷新。 |
Signed-off-by: Aolin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: b4c3078
|
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?