diff --git a/templates/prometheusRules/s3_capacity_monitoring.yaml b/templates/prometheusRules/s3_capacity_monitoring.yaml index 78d7e4b..48d2c54 100644 --- a/templates/prometheusRules/s3_capacity_monitoring.yaml +++ b/templates/prometheusRules/s3_capacity_monitoring.yaml @@ -14,13 +14,13 @@ 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.Namespace }}"}) * 100 / avg(minio_cluster_capacity_usable_total_bytes{namespace="{{ .Release.Namespace }}"}) < 15 annotations: message: there is less than 15% left. plz check for deletion or increase capacity - alert: s3_cluster_capacity_critical for: 10m labels: severity: critical - expr: avg(minio_cluster_capacity_usable_free_bytes{namespace="{{ .Release.Name }}"}) * 100 / avg(minio_cluster_capacity_usable_total_bytes{namespace="{{ .Release.Name }}"}) < 10 + expr: avg(minio_cluster_capacity_usable_free_bytes{namespace="{{ .Release.Namespace }}"}) * 100 / avg(minio_cluster_capacity_usable_total_bytes{namespace="{{ .Release.Namespace }}"}) < 10 annotations: message: there is less than 10% left. plz check for deletion or increase capacity