Skip to content

Commit

Permalink
chore: remove the dev and test PVC usage spike (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist authored Oct 31, 2024
1 parent 9a15736 commit 9213e2a
Showing 1 changed file with 0 additions and 77 deletions.
77 changes: 0 additions & 77 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -631,83 +631,6 @@ resource "sysdig_monitor_alert_promql" "test_gold_memory_limit" {
}
}

resource "sysdig_monitor_alert_v2_change" "dev_pvcuse_spike" {

name = "[DEV] the dev PVC usage surged(EXPERIMENT)"
severity = "low"
metric = "kubelet_volume_stats_used_bytes"
group_aggregation = "avg"
time_aggregation = "avg"
operator = ">"
threshold = 3
group_by = ["kube_pod_name"]

scope {
label = "kube_cluster_name"
operator = "equals"
values = ["gold"]
}

scope {
label = "kube_namespace_name"
operator = "equals"
values = ["eb75ad-dev"]
}

scope {
label = "persistentvolumeclaim"
operator = "in"
values = ["storage-volume-sso-patroni-0", "storage-volume-sso-patroni-1", "storage-volume-sso-patroni-2"]
}

notification_channels {
id = 132277
}

shorter_time_range_seconds = 600
longer_time_range_seconds = 28800

}


resource "sysdig_monitor_alert_v2_change" "test_pvcuse_spike" {

name = "[TEST] the dev PVC usage surged(EXPERIMENT)"
severity = "low"
metric = "kubelet_volume_stats_used_bytes"
group_aggregation = "avg"
time_aggregation = "avg"
operator = ">"
threshold = 10
group_by = ["kube_pod_name"]

scope {
label = "kube_cluster_name"
operator = "equals"
values = ["gold"]
}

scope {
label = "kube_namespace_name"
operator = "equals"
values = ["eb75ad-test"]
}

scope {
label = "persistentvolumeclaim"
operator = "in"
values = ["storage-volume-sso-patroni-0", "storage-volume-sso-patroni-1", "storage-volume-sso-patroni-2"]
}

notification_channels {
id = 132277
}

shorter_time_range_seconds = 600
longer_time_range_seconds = 28800

}

resource "sysdig_monitor_alert_v2_change" "prod_pvcuse_spike" {

name = "[PROD] the dev PVC usage surged(EXPERIMENT)"
Expand Down

0 comments on commit 9213e2a

Please sign in to comment.