From 3e31ebecd838b073664d98617bb1c9628c73cabd Mon Sep 17 00:00:00 2001 From: zuowei593 Date: Sat, 11 Oct 2025 17:35:03 +0800 Subject: [PATCH 01/14] advanced metrics for starter and essential clusters --- tidb-cloud/built-in-monitoring.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index 1c06af0da0c5f..90be9a5469762 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -82,27 +82,42 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C | TiFlash IO MBps | node-write, node-read | The total bytes of read and write in each TiFlash node. | | TiFlash Storage Usage | node, limit | The storage usage statistics or upper limit of each TiFlash node. | -## Metrics for {{{ .starter }}} and Essential clusters +## Metrics for {{{ .starter }}} and {{{ .essential }}} clusters The **Metrics** page provides two tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: -- **Cluster Status**: displays the cluster-level main metrics. +- **Overview**: displays the cluster-level core metrics. +- **Cluster Status**: displays the cluster-level main advanced metrics. - **Database Status**: displays the database-level main metrics. +### Overview +| Metric name | Labels | Description | +| :------------| :------| :-------------------------------------------- | +| Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | +| Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | +| Used Storage Size | Row-based storage, Columnar storage | The size of the row store and the size of the column store. | +| Query Per Second | All | The number of SQL statements executed per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Duration | All | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | +| Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | + ### Cluster Status -The following table illustrates the cluster-level main metrics under the **Cluster Status** tab. +The following table illustrates the cluster-level main advanced metrics under the **Cluster Status** tab. | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | -| Request Units | 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. | +| Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | +| Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | | Used Storage Size | Row-based storage, Columnar storage | 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, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Average Query Duration | All, {SQL type} | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | +| Query Duration | avg-{SQL type}, P99-{SQL type} | The average or the 99th percentile duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | | Failed Query | All | The number of SQL statement execution errors per second. | | Transaction Per Second | All | The number of transactions executed per second. | -| Average Transaction Duration | All | The average execution duration of transactions. | +| Transaction Duration | avg, P99 | The average and the 99th percentile execution duration of transactions. | +| Lock wait | P95, P99 | The 95th and the 99th percentile durations are the times taken by transactions waiting to acquire pessimistic locks. High values indicate contention for the same rows or keys. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | +| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The 99th percentile time connections remained idle while inside an open transaction. Long values usually indicate slow app logic or long-running transactions. | + ### Database Status From e0aa13d1faca98fce68096a56316739f13584b48 Mon Sep 17 00:00:00 2001 From: zuowei593 Date: Sat, 11 Oct 2025 17:58:03 +0800 Subject: [PATCH 02/14] update --- tidb-cloud/built-in-monitoring.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index 90be9a5469762..9f160b84bac2a 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -97,7 +97,7 @@ The **Metrics** page provides two tabs for metrics of {{{ .starter }}} and {{{ . | Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | | Used Storage Size | Row-based storage, Columnar storage | The size of the row store and the size of the column store. | | Query Per Second | All | The number of SQL statements executed per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Query Duration | All | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | +| Query Duration | Avg, P99 | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | ### Cluster Status @@ -110,13 +110,13 @@ The following table illustrates the cluster-level main advanced metrics under th | Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | | Used Storage Size | Row-based storage, Columnar storage | 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, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | -| Query Duration | avg-{SQL type}, P99-{SQL type} | The average or the 99th percentile duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | +| Query Duration | Avg, P99, P99-{SQL type} | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | | Failed Query | All | The number of SQL statement execution errors per second. | | Transaction Per Second | All | The number of transactions executed per second. | -| Transaction Duration | avg, P99 | The average and the 99th percentile execution duration of transactions. | -| Lock wait | P95, P99 | The 95th and the 99th percentile durations are the times taken by transactions waiting to acquire pessimistic locks. High values indicate contention for the same rows or keys. | +| Transaction Duration | Avg, P99 | The execution duration of transactions. | +| Lock wait | P95, P99 | Time spent by transactions waiting to acquire pessimistic locks. High values indicate contention on the same rows or keys. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | -| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The 99th percentile time connections remained idle while inside an open transaction. Long values usually indicate slow app logic or long-running transactions. | +| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time connections remained idle while inside an open transaction. Long values usually indicate slow app logic or long-running transactions. | ### Database Status From e3fa1bd4e3f124d7748d9a10ea3d9d495c55e9ea Mon Sep 17 00:00:00 2001 From: yansu Date: Sat, 11 Oct 2025 17:58:43 +0800 Subject: [PATCH 03/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- 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 9f160b84bac2a..d24f3a8478523 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -96,7 +96,7 @@ The **Metrics** page provides two tabs for metrics of {{{ .starter }}} and {{{ . | Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | | Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | | Used Storage Size | Row-based storage, Columnar storage | The size of the row store and the size of the column store. | -| Query Per Second | All | The number of SQL statements executed per second, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | +| Query Per Second | All | The number of SQL statements executed per second. | | Query Duration | Avg, P99 | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | From 515fc7c225524d52d0debe4ebab6ebc129444aec Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 10:17:33 +0800 Subject: [PATCH 04/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- 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 d24f3a8478523..bf08770e1be9c 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -84,7 +84,7 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C ## Metrics for {{{ .starter }}} and {{{ .essential }}} clusters -The **Metrics** page provides two tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: +The **Metrics** page provides the following tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: - **Overview**: displays the cluster-level core metrics. - **Cluster Status**: displays the cluster-level main advanced metrics. From 27996d331aaf767beab2aa8f6d819a168a511d85 Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 10:17:57 +0800 Subject: [PATCH 05/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- tidb-cloud/built-in-monitoring.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index bf08770e1be9c..32ca65fd8cdaa 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -91,6 +91,9 @@ The **Metrics** page provides the following tabs for metrics of {{{ .starter }}} - **Database Status**: displays the database-level main metrics. ### Overview + +The following table illustrates the cluster-level core metrics under the **Overview** tab. + | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | | Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | From 985a21490f20df45f11f03da17ed60cf2749eba8 Mon Sep 17 00:00:00 2001 From: zuowei593 Date: Mon, 13 Oct 2025 14:10:54 +0800 Subject: [PATCH 06/14] update --- tidb-cloud/built-in-monitoring.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index 32ca65fd8cdaa..c58b29131be5f 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -86,23 +86,9 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C The **Metrics** page provides the following tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: -- **Overview**: displays the cluster-level core metrics. -- **Cluster Status**: displays the cluster-level main advanced metrics. +- **Cluster Status**: displays the cluster-level main metrics. - **Database Status**: displays the database-level main metrics. -### Overview - -The following table illustrates the cluster-level core metrics under the **Overview** tab. - -| Metric name | Labels | Description | -| :------------| :------| :-------------------------------------------- | -| Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | -| Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | -| Used Storage Size | Row-based storage, Columnar storage | The size of the row store and the size of the column store. | -| Query Per Second | All | The number of SQL statements executed per second. | -| Query Duration | Avg, P99 | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | -| Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | - ### Cluster Status The following table illustrates the cluster-level main advanced metrics under the **Cluster Status** tab. From ace5a7fe6276e3a2a91adae3bfb850072c9677b5 Mon Sep 17 00:00:00 2001 From: zuowei593 Date: Mon, 13 Oct 2025 14:12:13 +0800 Subject: [PATCH 07/14] update --- 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 c58b29131be5f..c6b410f3cb5ab 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -91,7 +91,7 @@ The **Metrics** page provides the following tabs for metrics of {{{ .starter }}} ### Cluster Status -The following table illustrates the cluster-level main advanced metrics under the **Cluster Status** tab. +The following table illustrates the cluster-level main metrics under the **Cluster Status** tab. | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | From d6dbe74032353c46d3effce3b07e4bf0d541ba9f Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 16:03:50 +0800 Subject: [PATCH 08/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- 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 c6b410f3cb5ab..fe594a538247e 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -95,7 +95,7 @@ The following table illustrates the cluster-level main metrics under the **Clust | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | -| Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction to the {{{ .starter }}} cluster. 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. | +| Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction in a {{{ .starter }}} cluster. Besides user queries, background activities can also consume RUs, so when QPS is 0, RU usage per second might still be nonzero.| | Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | | Used Storage Size | Row-based storage, Columnar storage | 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, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | From c4f6420556824fb63d1598262f3921677dbdb5e8 Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 16:04:11 +0800 Subject: [PATCH 09/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- 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 fe594a538247e..f2e91c52c89b5 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -96,7 +96,7 @@ The following table illustrates the cluster-level main metrics under the **Clust | Metric name | Labels | Description | | :------------| :------| :-------------------------------------------- | | Request Units | RU per second | The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction in a {{{ .starter }}} cluster. Besides user queries, background activities can also consume RUs, so when QPS is 0, RU usage per second might still be nonzero.| -| Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The provisioned capacity (RCU) and the consumed Request Units (RU) per second to the {{{ .essential }}} clusters. | +| Capacity vs Usage (RU/s) | Provisioned capacity (RCU), Consumed RU/s | The Request Capacity Units (RCUs) and the consumed Request Units (RU) per second in a {{{ .essential }}} cluster. | | Used Storage Size | Row-based storage, Columnar storage | 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, which are collected by SQL types, such as `SELECT`, `INSERT`, and `UPDATE`. | | Query Duration | Avg, P99, P99-{SQL type} | The duration from receiving a request from the client to the {{{ .starter }}} or {{{ .essential }}} cluster until the cluster executes the request and returns the result to the client. | From 0a18bf5fdadd0b06c91bc926708e139a69737eb9 Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 16:04:25 +0800 Subject: [PATCH 10/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- 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 f2e91c52c89b5..8421f65876f33 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -105,7 +105,7 @@ The following table illustrates the cluster-level main metrics under the **Clust | Transaction Duration | Avg, P99 | The execution duration of transactions. | | Lock wait | P95, P99 | Time spent by transactions waiting to acquire pessimistic locks. High values indicate contention on the same rows or keys. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | -| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time connections remained idle while inside an open transaction. Long values usually indicate slow app logic or long-running transactions. | +| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time connections remained idle while inside an open transaction. Long durations typically indicate slow application logic or long-running transactions. | ### Database Status From fb2f5df2ad8b0fb1e0175942cfbc86560fb24103 Mon Sep 17 00:00:00 2001 From: yansu Date: Mon, 13 Oct 2025 16:04:32 +0800 Subject: [PATCH 11/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: Grace Cai --- tidb-cloud/built-in-monitoring.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tidb-cloud/built-in-monitoring.md b/tidb-cloud/built-in-monitoring.md index 8421f65876f33..c421813cbbed9 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -107,7 +107,6 @@ The following table illustrates the cluster-level main metrics under the **Clust | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | | Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time connections remained idle while inside an open transaction. Long durations typically indicate slow application logic or long-running transactions. | - ### Database Status The following table illustrates the database-level main metrics under the **Database Status** tab. From f5acd2ddbea875ab73f4efeb9ab485e555e1ab86 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 13 Oct 2025 16:16:01 +0800 Subject: [PATCH 12/14] 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 c421813cbbed9..ee14878693c16 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -84,7 +84,7 @@ The following sections illustrate the metrics on the **Metrics** page for TiDB C ## Metrics for {{{ .starter }}} and {{{ .essential }}} clusters -The **Metrics** page provides the following tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: +The **Metrics** page provides two tabs for metrics of {{{ .starter }}} and {{{ .essential }}} clusters: - **Cluster Status**: displays the cluster-level main metrics. - **Database Status**: displays the database-level main metrics. From 03094241ff6fde4ceab9472646a71ca12eae7047 Mon Sep 17 00:00:00 2001 From: yansu Date: Tue, 14 Oct 2025 10:40:47 +0800 Subject: [PATCH 13/14] Update tidb-cloud/built-in-monitoring.md Co-authored-by: xixirangrang --- 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 ee14878693c16..a9d1aa7ffcedc 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -105,7 +105,7 @@ The following table illustrates the cluster-level main metrics under the **Clust | Transaction Duration | Avg, P99 | The execution duration of transactions. | | Lock wait | P95, P99 | Time spent by transactions waiting to acquire pessimistic locks. High values indicate contention on the same rows or keys. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | -| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time connections remained idle while inside an open transaction. Long durations typically indicate slow application logic or long-running transactions. | +| Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time that connections remain idle while inside an open transaction. Long durations typically indicate slow application logic or long-running transactions. | ### Database Status From 328c89a764a508343d87ca528591351ebcf2a571 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 14 Oct 2025 18:54:37 +0800 Subject: [PATCH 14/14] 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 a9d1aa7ffcedc..f0059ddabd2a3 100644 --- a/tidb-cloud/built-in-monitoring.md +++ b/tidb-cloud/built-in-monitoring.md @@ -103,7 +103,7 @@ The following table illustrates the cluster-level main metrics under the **Clust | Failed Query | All | The number of SQL statement execution errors per second. | | Transaction Per Second | All | The number of transactions executed per second. | | Transaction Duration | Avg, P99 | The execution duration of transactions. | -| Lock wait | P95, P99 | Time spent by transactions waiting to acquire pessimistic locks. High values indicate contention on the same rows or keys. | +| Lock-wait | P95, P99 | Time spent by transactions waiting to acquire pessimistic locks. High values indicate contention on the same rows or keys. | | Total Connection | All | The number of connections to the {{{ .starter }}} or {{{ .essential }}} cluster. | | Idle Connection Duration | P99, P99(in-txn), P99(not-in-txn) | The time that connections remain idle while inside an open transaction. Long durations typically indicate slow application logic or long-running transactions. |