From b209ac6c9a361e0cc438e305f311ba0dcd803400 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 16 Sep 2026 09:46:30 +0900 Subject: [PATCH] tidb-lightning: unify idle-worker wording with the Grafana panel table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lightning_idle_workers metric's label descriptions used "the remainder of X", while the identical value is described in this same document's Grafana panel table (Row 4: Quota, Idle workers) as "Number of unused X" -- both trace back to the same Chinese source wording (未使用的 X 的数量), so this was just inconsistent EN phrasing, not an intentional distinction. Unify on "Number of unused X". Co-Authored-By: Claude Sonnet 5 --- tidb-lightning/monitor-tidb-lightning.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tidb-lightning/monitor-tidb-lightning.md b/tidb-lightning/monitor-tidb-lightning.md index 01b9c6e823eb8..1e8a800455f7a 100644 --- a/tidb-lightning/monitor-tidb-lightning.md +++ b/tidb-lightning/monitor-tidb-lightning.md @@ -140,10 +140,10 @@ Metrics provided by `tidb-lightning` are listed under the namespace `lightning_* Counts idle workers. Labels: - **name**: - * `table`: the remainder of `table-concurrency`, normally 0 until the end of the process - * `index`: the remainder of `index-concurrency`, normally 0 until the end of the process - * `region`: the remainder of `region-concurrency`, normally 0 until the end of the process - * `io`: the remainder of `io-concurrency`, normally close to configured value (default 5), and close to 0 means the disk is too slow + * `table`: Number of unused `table-concurrency`, normally 0 until the end of process + * `index`: Number of unused `index-concurrency`, normally 0 until the end of process + * `region`: Number of unused `region-concurrency`, normally 0 until the end of process + * `io`: Number of unused `io-concurrency`, normally close to configured value (default 5), and close to 0 means the disk is too slow * `closed-engine`: number of engines which have been closed but not yet cleaned up, normally close to index + table-concurrency (default 8). A value close to 0 means TiDB Lightning is faster than TiKV Importer, which might cause TiDB Lightning to stall - **`lightning_kv_encoder`** (Counter)