Update TiDB X monitoring dashboards#23188
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Yujie-Xie. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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 kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Code Review
This pull request introduces Datadog integration dashboards for TiDB X Essential and Premium clusters, alongside updates to the Grafana integration dashboard for TiDB X Essential. The review feedback highlights several minor issues, specifically recommending the correct capitalization of product names ('Essential' and 'Premium') in the Datadog configurations for consistency, and suggesting the removal of an unnecessary space in a PromQL sum expression within the Grafana dashboard.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "Database performance and storage metrics for TiDB X essential.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'essential' should be capitalized as 'Essential'.
| "content": "Database performance and storage metrics for TiDB X essential.", | |
| "content": "Database performance and storage metrics for TiDB X Essential.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "Connection state at TiDB X essential cluster or instance scope.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'essential' should be capitalized as 'Essential'.
| "content": "Connection state at TiDB X essential cluster or instance scope.", | |
| "content": "Connection state at TiDB X Essential cluster or instance scope.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "This panel shows RU usage for TiDB X essential clusters.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'essential' should be capitalized as 'Essential'.
| "content": "This panel shows RU usage for TiDB X essential clusters.", | |
| "content": "This panel shows RU usage for TiDB X Essential clusters.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "Database performance and storage metrics for TiDB X premium.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'premium' should be capitalized as 'Premium'.
| "content": "Database performance and storage metrics for TiDB X premium.", | |
| "content": "Database performance and storage metrics for TiDB X Premium.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "Connection state at TiDB X premium cluster or instance scope.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'premium' should be capitalized as 'Premium'.
| "content": "Connection state at TiDB X premium cluster or instance scope.", | |
| "content": "Connection state at TiDB X Premium cluster or instance scope.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "This panel shows RU usage for TiDB X premium clusters.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'premium' should be capitalized as 'Premium'.
| "content": "This panel shows RU usage for TiDB X premium clusters.", | |
| "content": "This panel shows RU usage for TiDB X Premium clusters.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "id": 0, | ||
| "definition": { | ||
| "type": "note", | ||
| "content": "CDC metrics supported for TiDB X premium. Panels stay empty when CDC is not enabled.", |
There was a problem hiding this comment.
For consistency with the product name and other occurrences in the dashboard, 'premium' should be capitalized as 'Premium'.
| "content": "CDC metrics supported for TiDB X premium. Panels stay empty when CDC is not enabled.", | |
| "content": "CDC metrics supported for TiDB X Premium. Panels stay empty when CDC is not enabled.", |
References
- Use consistent terminology and correct capitalization of product names. (link)
| "uid": "${DS_PROMETHEUS}" | ||
| }, | ||
| "editorMode": "code", | ||
| "expr": "sum (tidbcloud_resource_manager_resource_request_unit_total{instance_name=~\"$Instance_name\", instance_id=~\"$Instance_id\"})", |
There was a problem hiding this comment.
For consistency with all other PromQL expressions in this dashboard, remove the space between the function name sum and the opening parenthesis (.
| "expr": "sum (tidbcloud_resource_manager_resource_request_unit_total{instance_name=~\"$Instance_name\", instance_id=~\"$Instance_id\"})", | |
| "expr": "sum(tidbcloud_resource_manager_resource_request_unit_total{instance_name=~\"$Instance_name\", instance_id=~\"$Instance_id\"})", |
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.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?