raise forgejo_down alert duration from 5 to 15 min
The nightly reboot at 04:30 UTC takes ~7 min of downtime (cloud-init, image pulls, container startup) and was tripping the 5-min alert. Jason is fine with longer downtime overnight and prefers no page for it. 15 min still catches a stuck reboot or a real outage with reasonable latency. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0890a62b46
commit
c178285651
1 changed files with 2 additions and 2 deletions
|
|
@ -25,14 +25,14 @@ resource "google_monitoring_alert_policy" "forgejo_down" {
|
|||
combiner = "OR"
|
||||
|
||||
conditions {
|
||||
display_name = "Uptime check failing for 5+ min"
|
||||
display_name = "Uptime check failing for 15+ min"
|
||||
condition_threshold {
|
||||
filter = join(" AND ", [
|
||||
"resource.type=\"uptime_url\"",
|
||||
"metric.type=\"monitoring.googleapis.com/uptime_check/check_passed\"",
|
||||
"metric.label.\"check_id\"=\"${google_monitoring_uptime_check_config.forgejo.uptime_check_id}\"",
|
||||
])
|
||||
duration = "300s"
|
||||
duration = "900s"
|
||||
comparison = "COMPARISON_GT"
|
||||
threshold_value = 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue