diff --git a/terraform/gold-eb75ad-team/alerts.tf b/terraform/gold-eb75ad-team/alerts.tf index 02ef05f..4664e2a 100644 --- a/terraform/gold-eb75ad-team/alerts.tf +++ b/terraform/gold-eb75ad-team/alerts.tf @@ -262,12 +262,12 @@ resource "sysdig_monitor_alert_promql" "test_backup_storage_pv_usage_gt_med" { } resource "sysdig_monitor_alert_promql" "prod_minio_pvc_storage_low" { - name = "[GOLD PROD] Minio PVC over 70%" - description = "The minio pvc is over 70%, increase via the terraform chart in the sso-dashboard repos" + name = "[GOLD PROD] Minio PVC over 85%" + description = "The minio pvc is over 85%, increase via the terraform chart in the sso-dashboard repos" severity = 4 enabled = true - promql = "avg(kubelet_volume_stats_used_bytes{ namespace=\"eb75ad-prod\", persistentvolumeclaim=~\"export-sso-minio-.*\"} * 100 /\nkubelet_volume_stats_capacity_bytes{namespace=\"eb75ad-prod\", persistentvolumeclaim=~\"export-sso-minio-.*\"}) by (persistentvolumeclaim) > 70" + promql = "avg(kubelet_volume_stats_used_bytes{ namespace=\"eb75ad-tools\", persistentvolumeclaim=~\"export-sso-minio-.*\"} * 100 /\nkubelet_volume_stats_capacity_bytes{namespace=\"eb75ad-tools\", persistentvolumeclaim=~\"export-sso-minio-.*\"}) by (persistentvolumeclaim) > 85" trigger_after_minutes = 2 notification_channels = [132277, 57336, 57341]