Skip to content

Commit

Permalink
fix the rule of PD_miss_peer_region_count (#13015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt authored Apr 6, 2023
1 parent ba79465 commit 6526c84
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 @@ -230,7 +230,7 @@ This section gives the alert rules for the PD component.

* Alert rule:

`(sum(pd_regions_status{type="miss_peer_region_count"}) by (instance) > 100) and (sum(etcd_server_is_leader) by (instance) > 0)`
`(sum(pd_regions_status{type="miss-peer-region-count"}) by (instance) > 100) and (sum(etcd_server_is_leader) by (instance) > 0)`

* Description:

Expand All @@ -239,7 +239,7 @@ This section gives the alert rules for the PD component.
* Solution:

* Find the cause of the issue by checking whether there is any TiKV machine that is down or being made offline.
* Watch the Region health panel and see whether `miss_peer_region_count` is continuously decreasing.
* Watch the Region health panel and see whether `miss-peer-region-count` is continuously decreasing.

### Warning-level alerts

Expand Down

0 comments on commit 6526c84

Please sign in to comment.