Skip to content

Commit

Permalink
chore: update minIO alert to point at tools (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist authored Aug 23, 2024
1 parent 8346e2f commit 69ec304
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 69ec304

Please sign in to comment.