From 6a37534694b8e1588fd36b1859a28421d99d8cd9 Mon Sep 17 00:00:00 2001 From: Benjamin Dos Santos Date: Wed, 8 Dec 2021 11:25:51 +0100 Subject: [PATCH] refactor: adjuste HostUnusualDiskReadLatency/WriteLatency rules --- rules/disk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/disk.yml b/rules/disk.yml index a7833a8..cc3357a 100644 --- a/rules/disk.yml +++ b/rules/disk.yml @@ -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 }}"