-
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
*: add table storage info status api #6706
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. |
Welcome @jianzhiyao! |
tidb-monitoring-api.md
Outdated
@@ -93,3 +94,48 @@ Metrics 接口用于监控整个集群的状态和性能。 | |||
- 如果使用其他方式部署 TiDB 集群,在使用 metrics 接口前,需先[部署 Prometheus 和 Grafana](/deploy-monitoring-services.md)。 | |||
|
|||
成功部署 Prometheus 和 Grafana 之后,[配置 Grafana](/deploy-monitoring-services.md)。 | |||
|
|||
## 存储信息接口 |
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.
Maybe as a subsection of ### TiDB Server
?
@xhebox: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
tidb-monitoring-api.md
Outdated
@@ -35,6 +38,50 @@ curl http://127.0.0.1:10080/status | |||
} | |||
``` | |||
|
|||
#### 存储信息 | |||
|
|||
以下示例中,通过访问 `http://${host}:${port}/status` 获取当前 TiDB Server 的状态,并判断该 TiDB Server 是否存活。结果以 JSON 格式返回: |
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.
@jianzhiyao 这里看起来少了一个示例?
/remove-status LGT1 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: ce0a583
|
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
issue: pingcap/tidb#4989
pull request: pingcap/tidb#22859
Do your changes match any of the following descriptions?