Skip to content

how-to/monitor: add key-visualizer documentation#2432

Merged
sre-bot merged 19 commits into
pingcap:masterfrom
HunDunDM:keyviz
Apr 29, 2020
Merged

how-to/monitor: add key-visualizer documentation#2432
sre-bot merged 19 commits into
pingcap:masterfrom
HunDunDM:keyviz

Conversation

@HunDunDM
Copy link
Copy Markdown
Contributor

@HunDunDM HunDunDM commented Mar 11, 2020

Signed-off-by: Zheng Xiangsheng hundundm@gmail.com

What is changed, added or deleted? (Required)

Added document for using Key Visualizer under v4.0.0-beta.1.

Note: This document is out of date for the master branch.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version, including v4.0 changes for now)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

If you select two or more versions from above, to trigger the bot to cherry-pick this PR to your desired release version branch(es), you must add corresponding labels such as needs-cherry-pick-3.1, needs-cherry-pick-3.0, and needs-cherry-pick-2.1.

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 11, 2020

CLA assistant check
All committers have signed the CLA.

@TomShawn TomShawn added translation/doing This PR’s assignee is translating this PR. v4.0 This PR/issue applies to TiDB v4.0. labels Mar 11, 2020
@TomShawn TomShawn self-assigned this Mar 11, 2020
Comment thread how-to/monitor/key-visualizer.md
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
@TomShawn
Copy link
Copy Markdown
Contributor

@HunDunDM Please also involve a technical review, thanks!

@TomShawn TomShawn assigned toutdesuite and unassigned TomShawn Mar 25, 2020
@yikeke yikeke added the status/require-change Needs the author to address comments. label Apr 14, 2020
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md
HunDunDM and others added 2 commits April 22, 2020 13:30
Co-Authored-By: TomShawn <41534398+TomShawn@users.noreply.github.com>
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
@HunDunDM
Copy link
Copy Markdown
Contributor Author

PTAL @TomShawn

@TomShawn TomShawn assigned TomShawn and unassigned toutdesuite Apr 22, 2020
@TomShawn
Copy link
Copy Markdown
Contributor

@HunDunDM 请添加到 TOC 目录。Rest LGTM.

Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
>
> 默认情况下 `PDPort` 是 `2379`。若部署时修改过 PD 相应参数,则需要填写对应的端口。
>
> 登录 TiDB Dashboard 需要使用 TiDB 的 `root` 账号。
Copy link
Copy Markdown
Contributor

@kissmydb kissmydb Apr 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

默认使用 root。后期不用 root 是不是也可以,比如单独创建一个 dashboard 的访问用户,需要什么权限?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@breeswish PTAL

Copy link
Copy Markdown
Member

@breezewish breezewish Apr 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0 GA 版本上只能 root,非 root 视需求可以在后续版本实现(实现了的话需要 SUPER 权限)(具体什么权限可以讨论)

Comment thread how-to/monitor/key-visualizer.md Outdated
>
> 这里只是列出了几种常见的热力图模式。Key Visualizer 中实际展示的是整个集群上所有数据库、数据表的热力图,因此非常有可能在不同的区域观察到不同的热力图模式,也可能观察到多种热力图模式的混合结果。使用的时候应当视实际情况灵活判断。

### 解决热点问题
Copy link
Copy Markdown
Contributor

@kissmydb kissmydb Apr 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里感觉有问题,key vis 是用来发现和排查热点工具,这里反而引导到老版本上。建议增加更多描绘如何用 key vis 来分析热点问题

Copy link
Copy Markdown
Contributor Author

@HunDunDM HunDunDM Apr 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如何理解“引导到老版本上”?keyviz 只是帮助更直观地观察流量模式和发现热点。至于分析热点的成因和排除,keyviz 暂时是无能为力的,还是需要使用以前的方法。

@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 24, 2020

@HunDunDM, please update your pull request.

1 similar comment
@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 26, 2020

@HunDunDM, please update your pull request.

Co-Authored-By: kissmydb <likun@pingcap.com>
Comment thread how-to/monitor/key-visualizer.md Outdated
Comment thread how-to/monitor/key-visualizer.md Outdated
Co-Authored-By: Ryan Leung <rleungx@gmail.com>
Copy link
Copy Markdown
Contributor

@TomShawn TomShawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TomShawn TomShawn added status/can-merge Indicates a PR has been approved by a committer. and removed status/require-change Needs the author to address comments. labels Apr 29, 2020
@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 29, 2020

/run-all-tests

@sre-bot sre-bot merged commit 84b9930 into pingcap:master Apr 29, 2020
sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Apr 29, 2020
@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 29, 2020

cherry pick to release-4.0 in PR #2926

TomShawn pushed a commit that referenced this pull request Apr 29, 2020
Co-authored-by: 混沌DM <hundundm@gmail.com>
@TomShawn TomShawn added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels May 14, 2020
rleungx pushed a commit to rleungx/docs-cn that referenced this pull request May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. v4.0 This PR/issue applies to TiDB v4.0.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants