From 7d221df09f436384c8f49c0937c8b1d63886e051 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Thu, 31 Oct 2024 17:51:34 +0800 Subject: [PATCH] remove by name for alert of TiKV_raftstore_thread_cpu_seconds_total (#19275) (#19285) --- alert-rules.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/alert-rules.md b/alert-rules.md index 830ce4153f1fa..9e47eec00c5c7 100644 --- a/alert-rules.md +++ b/alert-rules.md @@ -562,11 +562,13 @@ This section gives the alert rules for the TiKV component. * Alert rule: - `sum(rate(tikv_thread_cpu_seconds_total{name=~"raftstore_.*"}[1m])) by (instance, name) > 1.6` + `sum(rate(tikv_thread_cpu_seconds_total{name=~"raftstore_.*"}[1m])) by (instance) > 1.6` * Description: - The pressure on the Raftstore thread is too high. + This rule monitors CPU usage by Raftstore. If the value is high, it indicates pressure on Raftstore threads is heavy. + + 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. * Solution: