Skip to content

Commit 93e38d1

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents d9fe7b3 + 8295738 commit 93e38d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

alert-rules.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,13 @@ This section gives the alert rules for the TiKV component.
562562

563563
* Alert rule:
564564

565-
`sum(rate(tikv_thread_cpu_seconds_total{name=~"raftstore_.*"}[1m])) by (instance, name) > 1.6`
565+
`sum(rate(tikv_thread_cpu_seconds_total{name=~"raftstore_.*"}[1m])) by (instance) > 1.6`
566566

567567
* Description:
568568

569-
The pressure on the Raftstore thread is too high.
569+
This rule monitors CPU usage by Raftstore. If the value is high, it indicates pressure on Raftstore threads is heavy.
570+
571+
The alert threshold is 80% of the [`raftstore.store-pool-size`](/tikv-configuration-file.md#store-pool-size) value. `raftstore.store-pool-size` is 2 by default, so the alert threshold is 1.6.
570572

571573
* Solution:
572574

0 commit comments

Comments
 (0)