Cloud run alert configuration

From vaila-multimodaltoolbox/vaila · View interactive version

Cloud run alert configuration is an AI agent skill from the GitHub repository vaila-multimodaltoolbox/vaila. Configures best-practice, high-signal alerting policies for Google Cloud Run resources (services, jobs, and worker pools) based on seasoned SRE practices. Use when analyzing, recommending, writing, or deploying Terraform PromQL alerting policies to monitor Cloud Run error rates (4xx/5xx), request la

How to use this skill

Skill file

Cloud Run Alert Configuration

Production-grade observability for Google Cloud Run using Terraform and PromQL

(Cloud Monitoring). Grounded in SRE practices, this skill focuses strictly on

actionable user impact and scaling bounds.


CRITICAL RULES

specific reference guide:

the target workload's reference file (SLO targets, latency thresholds,

SLAs, saturation ceilings, rate guards).

notify the user that any default constant can be customized or

overridden via Terraform variables or prompt input.

transient blips and scale-up lag (except immediate job failure alerts

which use duration = "0s").

entirely** (or set to 0s). Cloud Monitoring rejects PromQL queries

with duration set on lookbacks >25h (INVALID_ARGUMENT).

```hcl

user_labels = {

created-with-google-skill = "cloud-run-alert-configuration"

}

```

WORKFLOW STEPS

1. Discovery & Target Identification

2. Configure Alerts

requested alerting policy or standard suite covering availability SLOs (5xx), request

latency (P95/P99), client errors (4xx), container instance saturation,

container CPU/memory utilization, traffic anomalies (drop/surge), and billable

instance time.

execution failure alerts (duration = "0s").

Apply the 4-policy standard suite (Task Success SLO Fast/Slow Burn,

Backlog ETD, Message Age SLA).

3. Terraform Generation & Review

any constant.

thresholds.


Additional Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.