From df51a6cc52fe0c66b95225d61f91242eba45ac32 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 4 Jun 2024 10:12:12 +0000 Subject: [PATCH] Update upstream alerts --- .../extracted_alerts/master/collector_prometheus_alerts.yaml | 2 +- .../openshift4-logging/60_collector_alerts.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/component/extracted_alerts/master/collector_prometheus_alerts.yaml b/component/extracted_alerts/master/collector_prometheus_alerts.yaml index 88abe1b..40f0c36 100644 --- a/component/extracted_alerts/master/collector_prometheus_alerts.yaml +++ b/component/extracted_alerts/master/collector_prometheus_alerts.yaml @@ -91,7 +91,7 @@ spec: summary: "Detected consuming too much node disk on $labels.hostname host" expr: | (label_replace(sum by(hostname) (vector_buffer_byte_size{component_kind='sink', buffer_type='disk'}), 'instance', '$1', 'hostname', '(.*)') - / on(instance) group_left() sum by(instance) (node_filesystem_size_bytes{mountpoint='/var'})) * 100 > 0.15 + / on(instance) group_left() sum by(instance) (node_filesystem_size_bytes{mountpoint='/var'})) * 100 > 15 for: 5m labels: service: collector diff --git a/tests/golden/master/openshift4-logging/openshift4-logging/60_collector_alerts.yaml b/tests/golden/master/openshift4-logging/openshift4-logging/60_collector_alerts.yaml index 140c639..fb18914 100644 --- a/tests/golden/master/openshift4-logging/openshift4-logging/60_collector_alerts.yaml +++ b/tests/golden/master/openshift4-logging/openshift4-logging/60_collector_alerts.yaml @@ -115,7 +115,7 @@ spec: expr: "(label_replace(sum by(hostname) (vector_buffer_byte_size{component_kind='sink',\ \ buffer_type='disk'}), 'instance', '$1', 'hostname', '(.*)') \n/ on(instance)\ \ group_left() sum by(instance) (node_filesystem_size_bytes{mountpoint='/var'}))\ - \ * 100 > 0.15\n" + \ * 100 > 15\n" for: 5m labels: service: collector