Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tidb-lightning/monitor-tidb-lightning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down