Skip to content

Commit

Permalink
alert: remove keep_alive_total metric
Browse files Browse the repository at this point in the history
  • Loading branch information
CbcWestwolf committed Aug 1, 2024
1 parent 85c9f77 commit b20c18f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions alert-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,6 @@ aliases: ['/docs-cn/dev/alert-rules/','/docs-cn/dev/reference/alert-rules/']

参考 [`TiDB_schema_error`](#tidb_schema_error) 的处理方法。

#### `TiDB_monitor_keep_alive`

* 报警规则:

`increase(tidb_monitor_keep_alive_total[10m]) < 100`

* 规则描述:

表示 TiDB 的进程是否仍然存在。如果在 10 分钟之内 `tidb_monitor_keep_alive_total` 增加次数少于 100,则 TiDB 的进程可能已经退出,此时会报警。

* 处理方法:

* 检查 TiDB 进程是否 OOM。
* 检查机器是否发生了重启。

### 严重级别报警项

#### `TiDB_server_panic_total`
Expand Down

0 comments on commit b20c18f

Please sign in to comment.