From 2b70fcebab1be83c2023624daa236fa9df01c732 Mon Sep 17 00:00:00 2001 From: JamesClonk Date: Mon, 24 Jun 2024 16:23:52 +0200 Subject: [PATCH] adjust error threshold for ircollector --- monitoring/prometheus/templates/configmap.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/prometheus/templates/configmap.yml b/monitoring/prometheus/templates/configmap.yml index f0ffa04..b55e428 100644 --- a/monitoring/prometheus/templates/configmap.yml +++ b/monitoring/prometheus/templates/configmap.yml @@ -234,7 +234,7 @@ data: labels: severity: warning - alert: Client_Error - expr: rate(ircollector_api_client_request_error_total[5m]) > 0 + expr: rate(ircollector_api_client_request_error_total[5m]) > 0.05 for: 5m annotations: title: '{{ $labels.app_kubernetes_io_component }}: API client error' @@ -242,7 +242,7 @@ data: labels: severity: warning - alert: Collector_Error - expr: rate(ircollector_errors_total[5m]) > 0 + expr: rate(ircollector_errors_total[5m]) > 0.05 for: 5m annotations: title: '{{ $labels.app_kubernetes_io_component }}: collector error'