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