Skip to content

Commit

Permalink
update some alert rules (pingcap#7026)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuxiaozhen12 authored Nov 26, 2021
1 parent c47241f commit ac08996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alert-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ This section gives the alert rules for the PD component.

* Alert rule:

`count(changes(pd_server_tso{type="save"}[10m]) > 0) >= 2`
`count(changes(pd_tso_events{type="save"}[10m]) > 0) >= 2`

* Description:

Expand Down Expand Up @@ -376,7 +376,7 @@ This section gives the alert rules for the PD component.

* Alert rule:

`changes(pd_server_tso{type="system_time_slow"}[10m]) >= 1`
`changes(pd_tso_events{type="system_time_slow"}[10m]) >= 1`

* Description:

Expand Down Expand Up @@ -928,7 +928,7 @@ This section gives the alert rules for the Node_exporter host.

* Alert rule:

`((rate(node_disk_write_time_seconds_total{device=~".+"}[5m]) / rate(node_disk_writes_completed_total{device=~".+"}[5m])) or (irate(node_disk_write_time_seconds_total{device=~".+"}[5m]) / irate(node_disk_writes_completed_total{device=~".+"}[5m]))) * 1000 > 16`
`((rate(node_disk_write_time_seconds_total{device=~".+"}[5m]) / rate(node_disk_writes_completed_total{device=~".+"}[5m])) or (irate(node_disk_write_time_seconds_total{device=~".+"}[5m]) / irate(node_disk_writes_completed_total{device=~".+"}[5m])))> 16`

* Description:

Expand Down

0 comments on commit ac08996

Please sign in to comment.