New to Kestra?
Use blueprints to kickstart your first workflows.
Audit OpenFaaS serverless function replica availability via Gateway API, classify degradation severity, and dispatch Slack incident alerts to prevent outages.
Automated serverless reliability sentinel that polls the OpenFaaS Gateway API on a recurring schedule to audit function replica availability, detect crashed or unscheduled function pods, classify service degradation severity, and dispatch Slack incident alerts before microservice invocations fail.
/system/functions endpoint to retrieve real-time deployment status, requested replica targets, and currently available replica counts across all deployed functions.Switch flow control task branches execution according to the evaluated status:ALL_FUNCTIONS_HEALTHY: Confirms all serverless functions have full replica availability and logs nominal operational telemetry.PARTIAL_REPLICA_DEGRADATION: Emits a non-blocking advisory notification when minor replica shortfalls fall within allowable thresholds.CRITICAL_FUNCTION_OUTAGE: Dispatches a detailed Slack incident webhook with degraded function names, replica availability fractions, execution deep links, and halts execution via a failure gate.8080).OPENFAAS_API_TOKEN: Administrative authentication token or basic auth credentials for the OpenFaaS Gateway API.SLACK_WEBHOOK_URL: Slack Incoming Webhook URL used to transmit critical function outage incident alerts.OPENFAAS_API_TOKEN and SLACK_WEBHOOK_URL secrets in your Kestra namespace or environment variables.company.infrastructure.openfaas_audit_schedule trigger to maintain continuous 5-minute serverless monitoring.gateway_functions_seconds).