Skip to content

Commit

Permalink
chore: remove restart alert (#78)
Browse files Browse the repository at this point in the history
* chore: bump number of allowed restarts to 1

* chore: remover the pod restart alert
  • Loading branch information
thegentlemanphysicist authored Dec 12, 2024
1 parent d47982a commit dec9046
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions terraform/gold-eb75ad-team/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -162,24 +162,6 @@ resource "sysdig_monitor_alert_metric" "prod_keycloak_log_pv_med" {
}
}

resource "sysdig_monitor_alert_metric" "prod_db_pod_restarts_gte_1" {
name = "[GOLD CUST PROD] DB - Pod Restarts"
description = ""
severity = 4
enabled = true

metric = "sum(avg(kube_pod_sysdig_restart_count)) >= 1"
trigger_after_minutes = 2

scope = "kubernetes.cluster.name in (\"gold\") and kubernetes.namespace.name in (\"eb75ad-prod\") and kubernetes.statefulset.name in (\"sso-patroni\")"
multiple_alerts_by = []

notification_channels = [132277, 57336, 57341]
custom_notification {
title = "{{__alert_name__}} is {{__alert_status__}}"
}
}

resource "sysdig_monitor_alert_metric" "prod_db_pods_high" {
name = "[GOLD CUST PROD] DB - Ready Pods High"
description = ""
Expand Down

0 comments on commit dec9046

Please sign in to comment.