From b71e938e45352fcddc2f1c7d40177c810f5b8cc7 Mon Sep 17 00:00:00 2001 From: huoyao1125 <90880576+huoyao1125@users.noreply.github.com> Date: Sun, 26 Oct 2025 14:55:51 +0800 Subject: [PATCH 1/8] Update built-in-monitoring.md --- tidb-cloud/built-in-monitoring.md | 65 +++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index f0059ddabd2a3..c59d276084026 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -19,10 +19,30 @@ To view the metrics on the **Metrics** page, take the following steps: 2. In the left navigation pane, click **Monitoring** > **Metrics**. + + +To view the metrics on the **Metrics** page, take the following steps: + +1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target cluster to go to its overview page. + + > **Tip:** + > + > You can use the combo box in the upper-left corner to switch between organizations and TiDB Instances. + +2. In the left navigation pane, click **Monitoring** > **Metrics**. + + + ## Metrics retention policy For TiDB Cloud clusters, the metrics data is kept for 7 days. + + +For TiDB Cloud Instances, the metrics data is kept for 7 days. + + + ## Metrics for TiDB Cloud Dedicated clusters The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Dedicated clusters. @@ -117,6 +137,51 @@ The following table illustrates the database-level main metrics under the **Data | Average Query Duration Per DB | All, {Database name} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client.| | Failed Query Per DB | All, {Database name} | The statistics of error types according to the SQL statement execution errors per second on every database.| + + +## Metrics for TiDB Cloud Premium Instances + +The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Premium Instances. + +### Overview + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| Request Units per Second | Total RU per second | The "request unit" is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, Request Units can be consumed by background activities, so when the QPS is 0, the Request Units per second may not be zero. | +| Used Storage Size | {type} | The size of the row store and the size of the column store. | +| Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. | +| Database Time by SQL Types | All, {SQL type} | Total database time per second, database time consumed by SQL statements per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Failed Queries | All | The statistics of error types (such as syntax errors and primary key conflicts) according to the SQL statement execution errors per minute. | +| Command Per Second | {type} | The number of commands processed by all TiDB instances per second based on command types. | +| Queries Using Plan Cache OPS | hit, miss | hit: the number of queries using plan cache per second in all TiDB instances.
miss: the number of queries missing plan cache per second in all TiDB instances. | +| Transaction Per Second | {types}-{transaction model} | The number of transactions executed per second. | +| Transaction Duration | avg-{transaction model}, 99-{transaction model} | The average or the 99th percentile duration of transactions. | +| Connection Count | All, active connection | All: the number of connections to all TiDB instances.
Active connections: the number of active connections to all TiDB instances. | +| Disconnection Count | {result} | The number of clients disconnected to all TiDB instances. | + +### Database + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| QPS Per DB | All, {database} | The number of SQL statements executed per second on every Database, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Duration Per DB | avg, avg-{database}, 99, 99-{database} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client. | +| Failed Query Per DB | All, {database} | The statistics of error types according to the SQL statement execution errors per second on every database. | + +### Advanced + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| Average Idle Connection Duration | avg-in-txn, avg-not-in-txn | The connection idle duration indicates the duration of a connection being idle.
avg-in-txn: The average connection idle duration when a connection is within a transaction.
avg-not-in-txn: The average connection idle duration when a connection is not within a transaction. | +| Get Token Duration | avg, 99 | The average or the 99th percentile duration consumed in getting tokens of SQL statements. | +| Parse Duration | avg, 99 | The average or the 99th percentile duration consumed in parsing SQL statements. | +| Compile Duration | avg, 99 | The average or the 99th percentile duration consumed in compiling the parsed SQL AST to execution plans. | +| Execute Duration | avg, 99 | The average or the 99th percentile duration consumed in executing execution plans of SQL statements. | +| Average TiDB KV Request Duration | {Request Type} | The average time consumed in executing KV requests in all TiDB instances based on request types, such as `Get`, `Prewrite`, and `Commit`. | +| Average / P99 PD TSO Wait/RPC Duration | wait-avg/99, rpc-avg/99 | Wait: the average or the 99th percentile duration in waiting for PD to return TSO in all TiDB instances.
RPC: the average time or the 99th percentile of duration from sending TSO requests to PD to receiving TSO in all TiDB instances. | + +
+ ## FAQ **1. Why are some panes empty on this page?** From dea04e13cb355e0933945854a96866a181a4a33e Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 28 Oct 2025 11:48:49 +0800 Subject: [PATCH 2/8] Apply suggestions from code review Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/built-in-monitoring.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index c59d276084026..de0883c654bf8 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -23,11 +23,11 @@ To view the metrics on the **Metrics** page, take the following steps: To view the metrics on the **Metrics** page, take the following steps: -1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target cluster to go to its overview page. +1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target instance to go to its overview page. > **Tip:** > - > You can use the combo box in the upper-left corner to switch between organizations and TiDB Instances. + > You can use the combo box in the upper-left corner to switch between organizations and TiDB instances. 2. In the left navigation pane, click **Monitoring** > **Metrics**. @@ -39,7 +39,7 @@ For TiDB Cloud clusters, the metrics data is kept for 7 days. -For TiDB Cloud Instances, the metrics data is kept for 7 days. +For TiDB Cloud instances, the metrics data is kept for 7 days. @@ -141,13 +141,13 @@ The following table illustrates the database-level main metrics under the **Data ## Metrics for TiDB Cloud Premium Instances -The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Premium Instances. +The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Premium instances. ### Overview | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | -| Request Units per Second | Total RU per second | The "request unit" is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, Request Units can be consumed by background activities, so when the QPS is 0, the Request Units per second may not be zero. | +| Request Units per Second | Total RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, request units can be consumed by background activities, so when the QPS is 0, the request units per second may not be zero. | | Used Storage Size | {type} | The size of the row store and the size of the column store. | | Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. | @@ -164,7 +164,7 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | -| QPS Per DB | All, {database} | The number of SQL statements executed per second on every Database, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| QPS Per DB | All, {database} | The number of SQL statements executed per second on every database, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Query Duration Per DB | avg, avg-{database}, 99, 99-{database} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client. | | Failed Query Per DB | All, {database} | The statistics of error types according to the SQL statement execution errors per second on every database. | From 9993c775171a7d77945a5a08cb345450c52da140 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 28 Oct 2025 11:49:18 +0800 Subject: [PATCH 3/8] Update tidb-cloud/built-in-monitoring.md --- tidb-cloud/built-in-monitoring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index de0883c654bf8..eaf5981d9597a 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -151,7 +151,7 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C | Used Storage Size | {type} | The size of the row store and the size of the column store. | | Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. | -| Database Time by SQL Types | All, {SQL type} | Total database time per second, database time consumed by SQL statements per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Database Time by SQL Types | All, {SQL type} | All: total database time per second.
{SQL type}: database time consumed by SQL statements per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Failed Queries | All | The statistics of error types (such as syntax errors and primary key conflicts) according to the SQL statement execution errors per minute. | | Command Per Second | {type} | The number of commands processed by all TiDB instances per second based on command types. | | Queries Using Plan Cache OPS | hit, miss | hit: the number of queries using plan cache per second in all TiDB instances.
miss: the number of queries missing plan cache per second in all TiDB instances. | From 44e207fcba36992c4ae1b932d9d09d108a28b3bf Mon Sep 17 00:00:00 2001 From: qiancai Date: Tue, 28 Oct 2025 11:57:18 +0800 Subject: [PATCH 4/8] move premium metric content to a new doc Moved premium-specific built-in monitoring documentation to a dedicated file and removed related conditional content from the main monitoring doc. This improves clarity and separation between premium and dedicated cluster documentation. --- tidb-cloud/built-in-monitoring.md | 65 --------------- .../premium/built-in-monitoring-premium.md | 82 +++++++++++++++++++ 2 files changed, 82 insertions(+), 65 deletions(-) create mode 100644 tidb-cloud/premium/built-in-monitoring-premium.md diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index eaf5981d9597a..f0059ddabd2a3 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -19,30 +19,10 @@ To view the metrics on the **Metrics** page, take the following steps: 2. In the left navigation pane, click **Monitoring** > **Metrics**. - - -To view the metrics on the **Metrics** page, take the following steps: - -1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target instance to go to its overview page. - - > **Tip:** - > - > You can use the combo box in the upper-left corner to switch between organizations and TiDB instances. - -2. In the left navigation pane, click **Monitoring** > **Metrics**. - - - ## Metrics retention policy For TiDB Cloud clusters, the metrics data is kept for 7 days. - - -For TiDB Cloud instances, the metrics data is kept for 7 days. - - - ## Metrics for TiDB Cloud Dedicated clusters The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Dedicated clusters. @@ -137,51 +117,6 @@ The following table illustrates the database-level main metrics under the **Data | Average Query Duration Per DB | All, {Database name} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client.| | Failed Query Per DB | All, {Database name} | The statistics of error types according to the SQL statement execution errors per second on every database.| - - -## Metrics for TiDB Cloud Premium Instances - -The following sections illustrate the metrics on the **Metrics** page for TiDB Cloud Premium instances. - -### Overview - -| Metric name | Labels | Description | -| :------------| :------| :-------------------------------------------- | -| Request Units per Second | Total RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, request units can be consumed by background activities, so when the QPS is 0, the request units per second may not be zero. | -| Used Storage Size | {type} | The size of the row store and the size of the column store. | -| Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. | -| Database Time by SQL Types | All, {SQL type} | All: total database time per second.
{SQL type}: database time consumed by SQL statements per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Failed Queries | All | The statistics of error types (such as syntax errors and primary key conflicts) according to the SQL statement execution errors per minute. | -| Command Per Second | {type} | The number of commands processed by all TiDB instances per second based on command types. | -| Queries Using Plan Cache OPS | hit, miss | hit: the number of queries using plan cache per second in all TiDB instances.
miss: the number of queries missing plan cache per second in all TiDB instances. | -| Transaction Per Second | {types}-{transaction model} | The number of transactions executed per second. | -| Transaction Duration | avg-{transaction model}, 99-{transaction model} | The average or the 99th percentile duration of transactions. | -| Connection Count | All, active connection | All: the number of connections to all TiDB instances.
Active connections: the number of active connections to all TiDB instances. | -| Disconnection Count | {result} | The number of clients disconnected to all TiDB instances. | - -### Database - -| Metric name | Labels | Description | -| :------------| :------| :-------------------------------------------- | -| QPS Per DB | All, {database} | The number of SQL statements executed per second on every database, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Query Duration Per DB | avg, avg-{database}, 99, 99-{database} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client. | -| Failed Query Per DB | All, {database} | The statistics of error types according to the SQL statement execution errors per second on every database. | - -### Advanced - -| Metric name | Labels | Description | -| :------------| :------| :-------------------------------------------- | -| Average Idle Connection Duration | avg-in-txn, avg-not-in-txn | The connection idle duration indicates the duration of a connection being idle.
avg-in-txn: The average connection idle duration when a connection is within a transaction.
avg-not-in-txn: The average connection idle duration when a connection is not within a transaction. | -| Get Token Duration | avg, 99 | The average or the 99th percentile duration consumed in getting tokens of SQL statements. | -| Parse Duration | avg, 99 | The average or the 99th percentile duration consumed in parsing SQL statements. | -| Compile Duration | avg, 99 | The average or the 99th percentile duration consumed in compiling the parsed SQL AST to execution plans. | -| Execute Duration | avg, 99 | The average or the 99th percentile duration consumed in executing execution plans of SQL statements. | -| Average TiDB KV Request Duration | {Request Type} | The average time consumed in executing KV requests in all TiDB instances based on request types, such as `Get`, `Prewrite`, and `Commit`. | -| Average / P99 PD TSO Wait/RPC Duration | wait-avg/99, rpc-avg/99 | Wait: the average or the 99th percentile duration in waiting for PD to return TSO in all TiDB instances.
RPC: the average time or the 99th percentile of duration from sending TSO requests to PD to receiving TSO in all TiDB instances. | - -
- ## FAQ **1. Why are some panes empty on this page?** diff --git a/tidb-cloud/premium/built-in-monitoring-premium.md b/tidb-cloud/premium/built-in-monitoring-premium.md new file mode 100644 index 0000000000000..5bb3a1c0cd3e4 --- /dev/null +++ b/tidb-cloud/premium/built-in-monitoring-premium.md @@ -0,0 +1,82 @@ +--- +title: {{{ .premium }}} Built-in Metrics +summary: Learn how to view {{{ .premium }}} built-in metrics and understand the meanings of these metrics. +--- + +# {{{ .premium }}} Built-in Metrics + +TiDB Cloud collects and displays a full set of standard metrics of your cluster on the Metrics page. By viewing these metrics, you can easily identify performance issues and determine whether your current database deployment meets your requirements. + +## View the Metrics page + +To view the metrics on the **Metrics** page, take the following steps: + +1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target instance to go to its overview page. + + > **Tip:** + > + > You can use the combo box in the upper-left corner to switch between organizations and TiDB instances. + +2. In the left navigation pane, click **Monitoring** > **Metrics**. + +## Metrics retention policy + +For TiDB Cloud instances, the metrics data is kept for 7 days. + +## Metrics for {{{ .premium }}} Instances + +The following sections illustrate the metrics on the **Metrics** page for {{{ .premium }}} instances. + +### Overview + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| Request Units per Second | Total RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, request units can be consumed by background activities, so when the QPS is 0, the request units per second may not be zero. | +| Used Storage Size | {type} | The size of the row store and the size of the column store. | +| Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. | +| Database Time by SQL Types | All, {SQL type} | All: total database time per second.
{SQL type}: database time consumed by SQL statements per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Failed Queries | All | The statistics of error types (such as syntax errors and primary key conflicts) according to the SQL statement execution errors per minute. | +| Command Per Second | {type} | The number of commands processed by all TiDB instances per second based on command types. | +| Queries Using Plan Cache OPS | hit, miss | hit: the number of queries using plan cache per second in all TiDB instances.
miss: the number of queries missing plan cache per second in all TiDB instances. | +| Transaction Per Second | {types}-{transaction model} | The number of transactions executed per second. | +| Transaction Duration | avg-{transaction model}, 99-{transaction model} | The average or the 99th percentile duration of transactions. | +| Connection Count | All, active connection | All: the number of connections to all TiDB instances.
Active connections: the number of active connections to all TiDB instances. | +| Disconnection Count | {result} | The number of clients disconnected to all TiDB instances. | + +### Database + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| QPS Per DB | All, {database} | The number of SQL statements executed per second on every database, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Duration Per DB | avg, avg-{database}, 99, 99-{database} | The duration from receiving a request from the client to a database until the database executes the request and returns the result to the client. | +| Failed Query Per DB | All, {database} | The statistics of error types according to the SQL statement execution errors per second on every database. | + +### Advanced + +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| Average Idle Connection Duration | avg-in-txn, avg-not-in-txn | The connection idle duration indicates the duration of a connection being idle.
avg-in-txn: The average connection idle duration when a connection is within a transaction.
avg-not-in-txn: The average connection idle duration when a connection is not within a transaction. | +| Get Token Duration | avg, 99 | The average or the 99th percentile duration consumed in getting tokens of SQL statements. | +| Parse Duration | avg, 99 | The average or the 99th percentile duration consumed in parsing SQL statements. | +| Compile Duration | avg, 99 | The average or the 99th percentile duration consumed in compiling the parsed SQL AST to execution plans. | +| Execute Duration | avg, 99 | The average or the 99th percentile duration consumed in executing execution plans of SQL statements. | +| Average TiDB KV Request Duration | {Request Type} | The average time consumed in executing KV requests in all TiDB instances based on request types, such as `Get`, `Prewrite`, and `Commit`. | +| Average / P99 PD TSO Wait/RPC Duration | wait-avg/99, rpc-avg/99 | Wait: the average or the 99th percentile duration in waiting for PD to return TSO in all TiDB instances.
RPC: the average time or the 99th percentile of duration from sending TSO requests to PD to receiving TSO in all TiDB instances. | + +## FAQ + +**1. Why are some panes empty on this page?** + +If a pane does not provide any metrics, the possible reasons are as follows: + +- The workload of the corresponding cluster does not trigger this metric. For example, the failed query metric is always empty in the case of no failed queries. +- The cluster version is low. You need to upgrade it to the latest version of TiDB to see these metrics. + +If all these reasons are excluded, you can contact the [PingCAP support team](/tidb-cloud/tidb-cloud-support.md) for troubleshooting. + +**2. Why might metrics be discontinuous in rare cases?** + +In some rare cases, metrics might be lost, such as when the metrics system experiences high pressure. + +If you encounter this problem, you can contact [PingCAP Support](/tidb-cloud/tidb-cloud-support.md) for troubleshooting. From e6371d719bf8bf9254d912b957a6da770716389e Mon Sep 17 00:00:00 2001 From: qiancai Date: Tue, 28 Oct 2025 12:01:55 +0800 Subject: [PATCH 5/8] Update TOC-tidb-cloud-premium.md --- TOC-tidb-cloud-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOC-tidb-cloud-premium.md b/TOC-tidb-cloud-premium.md index b797bf126cbf5..fe7a357a9f3e3 100644 --- a/TOC-tidb-cloud-premium.md +++ b/TOC-tidb-cloud-premium.md @@ -150,7 +150,7 @@ - [Pipeline Execution Model](/tiflash/tiflash-pipeline-model.md) - Monitor and Alert - [Overview](/tidb-cloud/monitor-tidb-cluster.md) - - [Built-in Metrics](/tidb-cloud/built-in-monitoring.md) + - [Built-in Metrics](/tidb-cloud/built-in-monitoring-premium.md) - Tune Performance - [Overview](/tidb-cloud/tidb-cloud-tune-performance-overview.md) - [Analyze Performance](/tidb-cloud/tune-performance.md) From 899b206edeb542c01f9edf4bf225b72835b8a891 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 28 Oct 2025 13:33:26 +0800 Subject: [PATCH 6/8] Update tidb-cloud/premium/built-in-monitoring-premium.md --- tidb-cloud/premium/built-in-monitoring-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/built-in-monitoring-premium.md b/tidb-cloud/premium/built-in-monitoring-premium.md index 5bb3a1c0cd3e4..ee69445d39ee3 100644 --- a/tidb-cloud/premium/built-in-monitoring-premium.md +++ b/tidb-cloud/premium/built-in-monitoring-premium.md @@ -1,5 +1,5 @@ --- -title: {{{ .premium }}} Built-in Metrics +title: "{{{ .premium }}} Built-in Metrics" summary: Learn how to view {{{ .premium }}} built-in metrics and understand the meanings of these metrics. --- From 33c06629dbe12d13ab5e4862f93092266764e28e Mon Sep 17 00:00:00 2001 From: qiancai Date: Tue, 28 Oct 2025 15:41:26 +0800 Subject: [PATCH 7/8] Update TOC-tidb-cloud-premium.md --- TOC-tidb-cloud-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOC-tidb-cloud-premium.md b/TOC-tidb-cloud-premium.md index fe7a357a9f3e3..9b82f1e206134 100644 --- a/TOC-tidb-cloud-premium.md +++ b/TOC-tidb-cloud-premium.md @@ -150,7 +150,7 @@ - [Pipeline Execution Model](/tiflash/tiflash-pipeline-model.md) - Monitor and Alert - [Overview](/tidb-cloud/monitor-tidb-cluster.md) - - [Built-in Metrics](/tidb-cloud/built-in-monitoring-premium.md) + - [Built-in Metrics](/tidb-cloud/premium/built-in-monitoring-premium.md) - Tune Performance - [Overview](/tidb-cloud/tidb-cloud-tune-performance-overview.md) - [Analyze Performance](/tidb-cloud/tune-performance.md) From b70bbccc0ed5e021ee965c8b5c684897e096a058 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 29 Oct 2025 20:32:55 +0800 Subject: [PATCH 8/8] Update tidb-cloud/premium/built-in-monitoring-premium.md --- tidb-cloud/premium/built-in-monitoring-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/built-in-monitoring-premium.md b/tidb-cloud/premium/built-in-monitoring-premium.md index ee69445d39ee3..b3b9b3269588a 100644 --- a/tidb-cloud/premium/built-in-monitoring-premium.md +++ b/tidb-cloud/premium/built-in-monitoring-premium.md @@ -31,7 +31,7 @@ The following sections illustrate the metrics on the **Metrics** page for {{{ .p | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | -| Request Units per Second | Total RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, request units can be consumed by background activities, so when the QPS is 0, the request units per second may not be zero. | +| Request Units per Second | Total RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. In addition to queries that you run, request units can be consumed by background activities, so when the QPS is 0, the request units per second might not be zero. | | Used Storage Size | {type} | The size of the row store and the size of the column store. | | Query Per Second | All, {SQL type} | The number of SQL statements executed per second in all TiDB instances, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Query Duration | avg, avg-{SQL type}, 99, 99-{SQL type} | The duration from receiving a request from the client to TiDB until TiDB executes the request and returns the result to the client. |