Skip to content

Commit

Permalink
refactor(monitoring): add a severity to k8s CronJob alerting (#3159)
Browse files Browse the repository at this point in the history
This adds a severity of ERROR to the generated alerting policies so that
the incidents opened have this severity, rather than none at all.
  • Loading branch information
andrewpollock authored Feb 17, 2025
1 parent 71f307e commit 23dcd07
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ resource "google_monitoring_alert_policy" "cron_alert_policy" {
}

notification_channels = var.notification_channel != null ? toset([var.notification_channel]) : toset([])
severity = "ERROR"
}

0 comments on commit 23dcd07

Please sign in to comment.