1
0
Fork 0

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:
Jason Hall 2026-05-13 09:08:01 -04:00
parent 0890a62b46
commit c178285651

View file

@ -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