New to Kestra?
Use blueprints to kickstart your first workflows.
Audit Caddy reverse proxy upstream health via Admin API, classify backend degradation severity, and dispatch Slack incident alerts to prevent 502 outages.
Automated reverse proxy reliability sentinel that polls the Caddy Web Server Admin API on a recurring schedule to audit backend upstream pool health, detect failing or flapping origin servers, classify degradation severity, and dispatch Slack incident alerts before cascading 502 Bad Gateway outages impact end users.
/reverse_proxy/upstreams administrative endpoint to retrieve live health and request failure metrics across all backend hosts.Switch flow control task branches execution according to the evaluated status:ALL_UPSTREAMS_HEALTHY: Confirms all origin nodes are responsive and logs nominal operational telemetry.PARTIAL_BACKEND_DEGRADATION: Emits a non-blocking advisory notification when failing nodes fall within allowable thresholds.CRITICAL_UPSTREAM_OUTAGE: Dispatches a detailed Slack incident webhook with failing host addresses, pool failure percentages, execution deep links, and halts execution via a failure gate.2019).SLACK_WEBHOOK_URL: Slack Incoming Webhook URL used to transmit critical upstream outage incident alerts.SLACK_WEBHOOK_URL secret in your Kestra namespace or environment variables.company.infrastructure.caddy_health_audit_schedule trigger to maintain continuous 5-minute upstream monitoring./config/ API.caddy_reverse_proxy_upstreams_healthy) for time-series trend analysis.