Skip to content

Commit

Permalink
Changed the alert rule of TiKV_thread_apply_worker_cpu_seconds (#7747) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 29, 2021
1 parent 4a31c3c commit b24da8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alert-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,11 +593,11 @@ summary: TiDB 集群中各组件的报警规则详解。

* 报警规则:

`sum(rate(tikv_thread_cpu_seconds_total{name="apply_worker"}[1m])) by (instance) > 1.8`
`max(rate(tikv_thread_cpu_seconds_total{name=~"apply_.*"}[1m])) by (instance) > 0.9`

* 规则描述:

Apply Raft log 线程压力太大,通常是因为写入太猛了
Apply Raft log 线程压力太大,已经接近或超过 apply 线程的处理上限。通常是因为短期内写入的数据量太多造成的

### 警告级别报警项

Expand Down

0 comments on commit b24da8f

Please sign in to comment.