Skip to content

Conversation

Oreoxmt
Copy link
Collaborator

@Oreoxmt Oreoxmt commented Apr 17, 2025

First-time contributors' checklist

What is changed, added or deleted? (Required)

close pingcap/docs-cn#20206

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).

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

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

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@Oreoxmt Oreoxmt added type/enhancement The issue or PR belongs to an enhancement. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. area/diagnosis Indicates that the Issue or PR belongs to the area of diagnosis and monitoring. ONCALL Relates to documentation oncall. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.3 needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. labels Apr 17, 2025
@Oreoxmt Oreoxmt requested a review from qiancai April 17, 2025 02:53
@Oreoxmt Oreoxmt self-assigned this Apr 17, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Hello @Oreoxmt, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request introduces the TiDB Dashboard to the TiDB monitoring framework documentation. The changes primarily involve updating the table of contents (TOC.md) to include a comprehensive listing of TiDB Dashboard documentation pages, removing the duplicate listing of the TiDB Dashboard from the UI section of the TOC, and updating the overview documentation to reflect the inclusion of TiDB Dashboard in the monitoring framework. The PR also updates the deploy monitoring services documentation to indicate that the TiDB Dashboard is built into the PD component and does not require independent deployment.

Highlights

  • TOC Update: The table of contents (TOC.md) is updated to include a detailed listing of TiDB Dashboard documentation pages, providing easy navigation to various aspects of the dashboard.
  • Framework Overview: The tidb-monitoring-framework.md file is updated to reflect that the TiDB monitoring framework now includes Prometheus, Grafana, and TiDB Dashboard.
  • Deployment Clarification: The deploy-monitoring-services.md file is updated to clarify that TiDB Dashboard is integrated into the PD component and doesn't need separate deployment.

Changelog

  • TOC.md
    • Added a comprehensive listing of TiDB Dashboard documentation pages.
    • Removed the duplicate listing of TiDB Dashboard from the UI section.
  • _index.md
    • Updated the monitoring learning path to include TiDB Dashboard.
  • deploy-monitoring-services.md
    • Clarified that TiDB Dashboard is built into the PD component and does not require independent deployment.
  • tidb-monitoring-framework.md
    • Updated the summary to include TiDB Dashboard.
    • Added a section introducing TiDB Dashboard and linking to its introduction page.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A dashboard's clear display,
Helps admins save the day,
With metrics bright,
They gain insight,
And errors fade away.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@ti-chi-bot ti-chi-bot bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 17, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds documentation for the TiDB Dashboard to the TiDB documentation. The changes include adding TiDB Dashboard to the table of contents, updating the monitoring framework overview, and adding a note about TiDB Dashboard to the deploy monitoring services documentation. Overall, the changes are well-structured and informative.

Summary of Findings

  • Inconsistent indentation in TOC.md: The indentation of the TiDB Dashboard sub-items in TOC.md is inconsistent with the other sections. This should be corrected for better readability.

Merge Readiness

The pull request is almost ready for merging. Addressing the indentation issue in TOC.md will improve the overall quality of the documentation. I am unable to directly approve the pull request, and recommend that others review and approve this code before merging. However, once the indentation issue is addressed, the pull request should be good to go.

Copy link
Collaborator

@qiancai qiancai left a comment

Choose a reason for hiding this comment

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

Rest LGTM

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Apr 17, 2025
Copy link

ti-chi-bot bot commented Apr 17, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-04-17 03:40:09.234988495 +0000 UTC m=+2918902.919224587: ☑️ agreed by qiancai.

Co-authored-by: Grace Cai <qqzczy@126.com>
@Oreoxmt
Copy link
Collaborator Author

Oreoxmt commented Apr 17, 2025

/approve

Copy link

ti-chi-bot bot commented Apr 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Oreoxmt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Apr 17, 2025
@Oreoxmt Oreoxmt added the lgtm label Apr 17, 2025
@ti-chi-bot ti-chi-bot bot merged commit c98fa53 into pingcap:master Apr 17, 2025
9 checks passed
ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.1: #20785.
But this PR has conflicts, please resolve them!

ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #20786.
But this PR has conflicts, please resolve them!

ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.1: #20787.
But this PR has conflicts, please resolve them!

ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.3: #20788.
But this PR has conflicts, please resolve them!

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #20789.
But this PR has conflicts, please resolve them!

ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.4: #20790.
But this PR has conflicts, please resolve them!

Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
Oreoxmt added a commit to ti-chi-bot/docs that referenced this pull request Apr 17, 2025
@Oreoxmt Oreoxmt deleted the update-toc-tidb-dashboard branch August 14, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/diagnosis Indicates that the Issue or PR belongs to the area of diagnosis and monitoring. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. ONCALL Relates to documentation oncall. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. type/enhancement The issue or PR belongs to an enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

监控菜单下增加 dashboard 的链接

3 participants