From b297ae99fa5ee0a9bc2450aec211dca1176da1cc Mon Sep 17 00:00:00 2001 From: Michael Haehnel Date: Tue, 21 Feb 2023 17:42:42 +0100 Subject: [PATCH] DEV-878 Fixed missing curly bracket --- templates/prometheusRules/s3_capacity_monitoring.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/prometheusRules/s3_capacity_monitoring.yaml b/templates/prometheusRules/s3_capacity_monitoring.yaml index 126e07e..78d7e4b 100644 --- a/templates/prometheusRules/s3_capacity_monitoring.yaml +++ b/templates/prometheusRules/s3_capacity_monitoring.yaml @@ -14,7 +14,7 @@ spec: for: 10m labels: severity: warning - expr: avg(minio_cluster_capacity_usable_free_bytes{namespace="{{ .Release.Name }}") * 100 / avg(minio_cluster_capacity_usable_total_bytes{namespace="{{ .Release.Name }}"}) < 15 + expr: avg(minio_cluster_capacity_usable_free_bytes{namespace="{{ .Release.Name }}"}) * 100 / avg(minio_cluster_capacity_usable_total_bytes{namespace="{{ .Release.Name }}"}) < 15 annotations: message: there is less than 15% left. plz check for deletion or increase capacity - alert: s3_cluster_capacity_critical