Skip to content

Commit

Permalink
refactor: adjuste HostUnusualDiskReadLatency/WriteLatency rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Dec 8, 2021
1 parent 753fcf4 commit 6a37534
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rules/disk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ groups:
description: "Disk is almost running out of available inodes (< 10% left)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostUnusualDiskReadLatency
expr: rate(node_disk_read_time_seconds_total[1m]) / rate(node_disk_reads_completed_total[1m]) > 0.1 and rate(node_disk_reads_completed_total[1m]) > 0
for: 5m
for: 30m
labels:
severity: warning
severity: page
annotations:
summary: "Unusual disk read latency (instance {{ $labels.instance }})"
description: "Disk latency is growing (read operations > 100ms)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostUnusualDiskWriteLatency
expr: rate(node_disk_write_time_seconds_total[1m]) / rate(node_disk_writes_completed_total[1m]) > 0.1 and rate(node_disk_writes_completed_total[1m]) > 0
for: 5m
for: 30m
labels:
severity: warning
severity: page
annotations:
summary: "Unusual disk write latency (instance {{ $labels.instance }})"
description: "Disk latency is growing (write operations > 100ms)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"

0 comments on commit 6a37534

Please sign in to comment.