From 1fb83effbbadc6836a626a0bcd80a41fc6ef4995 Mon Sep 17 00:00:00 2001 From: Jonathan Gazeley Date: Thu, 29 Aug 2024 22:39:04 +0100 Subject: [PATCH] Tweak threshold as it is too sensitive --- dist/charts/ping-exporter/files/prometheus.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/charts/ping-exporter/files/prometheus.rules b/dist/charts/ping-exporter/files/prometheus.rules index 1974e8a..9f574fc 100644 --- a/dist/charts/ping-exporter/files/prometheus.rules +++ b/dist/charts/ping-exporter/files/prometheus.rules @@ -1,11 +1,11 @@ - alert: HighPingLossRatio - expr: round(ping_loss_ratio * 100) > 0 + expr: round(ping_loss_ratio * 100) > 5 for: 5m labels: severity: warning annotations: summary: High ping loss ratio for {{ $labels.target }} - description: "Ping loss ratio for {{ $labels.target }} is {{ $value }}" + description: "Ping loss ratio for {{ $labels.target }} is {{ $value }}%" - alert: HighPingRtt expr: round(ping_rtt_mean_seconds * 1000, 0.1) > 100 for: 5m