New to Kestra?
Use blueprints to kickstart your first workflows.
Audits Google Cloud SQL instances to detect database state degradation and connection capacity saturation.
This workflow executes gcloud sql instances describe and queries Cloud Monitoring for database connection telemetry. Cloud SQL managed instances (PostgreSQL, MySQL, SQL Server) report operational health via state == 'RUNNABLE'. If an instance enters maintenance restart, storage auto-resize deadlock, or replication failure, the state changes to SUSPENDED, FAILED, or MAINTENANCE. Slack is alerted immediately upon any non-runnable status.
GCP_SERVICE_ACCOUNT and SLACK_WEBHOOK configured in Kestra.cloudsql.googleapis.com/database/disk/utilization alongside state.