Skip to content

Commit

Permalink
fix duration of sql_logical_backup_success alert policy (max is 24h)
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Oct 12, 2023
1 parent 9849823 commit 1632dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf/modules/monitoring/sql-backup-failure-alert.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "google_monitoring_alert_policy" "alert_policy_sql_logical_backup_failu
display_name = "(${var.cluster_name}): SQL logical backup failure"
condition_absent {
filter = "metric.type=\"logging.googleapis.com/user/${google_logging_metric.sql_logical_backup_success.name}\" AND resource.type=\"k8s_container\""
duration = "88200s"
duration = "86400s"
trigger {
count = 1
}
Expand Down

0 comments on commit 1632dd7

Please sign in to comment.