Skip to content

TiDB: add many new Grafana TiDB dashboard metrics#21425

Open
hfxsd wants to merge 2 commits intopingcap:masterfrom
hfxsd:add-missing-metrics
Open

TiDB: add many new Grafana TiDB dashboard metrics#21425
hfxsd wants to merge 2 commits intopingcap:masterfrom
hfxsd:add-missing-metrics

Conversation

@hfxsd
Copy link
Collaborator

@hfxsd hfxsd commented Mar 11, 2026

Update grafana-tidb-dashboard.md to add a large set of new metrics and sections, including TiDB Runtime, Dist Execute Framework, TopSQL, Resource Manager, Follower Read, Import Into, Global Sort, Network Transmission, Memory Arbitrator, Resource Control and more. Also introduce numerous new metric entries across Server, Transaction, Executor, Distsql, KV, PD Client, Schema Load, DDL, Statistics & Plan Management, Owner, GC, Batch Client and TTL sections. Minor renames and clarifications were applied (e.g. Event OPM -> Events OPM, Expensive Executor OPS -> Expensive Executors OPS, DDL Waiting Jobs Count -> Waiting Job Count), and some TTL/scan/delete items were split for clarity. This change expands monitoring visibility and reorganizes related metrics for the TiDB Grafana dashboard.

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

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 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)?

  • This PR is translated from:
  • Other reference 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

Update grafana-tidb-dashboard.md to add a large set of new metrics and sections, including TiDB Runtime, Dist Execute Framework, TopSQL, Resource Manager, Follower Read, Import Into, Global Sort, Network Transmission, Memory Arbitrator, Resource Control and more. Also introduce numerous new metric entries across Server, Transaction, Executor, Distsql, KV, PD Client, Schema Load, DDL, Statistics & Plan Management, Owner, GC, Batch Client and TTL sections. Minor renames and clarifications were applied (e.g. Event OPM -> Events OPM, Expensive Executor OPS -> Expensive Executors OPS, DDL Waiting Jobs Count -> Waiting Job Count), and some TTL/scan/delete items were split for clarity. This change expands monitoring visibility and reorganizes related metrics for the TiDB Grafana dashboard.
@hfxsd hfxsd requested a review from XuHuaiyu March 11, 2026 02:46
@ti-chi-bot ti-chi-bot bot added the contribution This PR is from a community contributor. label Mar 11, 2026
@hfxsd hfxsd self-assigned this Mar 11, 2026
@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 11, 2026
@hfxsd hfxsd requested a review from niubell March 11, 2026 03:32
@hfxsd hfxsd added translation/doing This PR’s assignee is translating this PR. and removed missing-translation-status This PR does not have translation status info. labels Mar 11, 2026
@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 11, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from hfxsd. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

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

Details 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

@hfxsd hfxsd changed the title metrics: add many new Grafana TiDB dashboard metrics TiDB: add many new Grafana TiDB dashboard metrics Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution This PR is from a community contributor. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/doing This PR’s assignee is translating this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant