Cloud Monitoring Alert Configuration
GoogleOfficialPublished by Google
- Skill
- Workflow
- Cloud and DevOps
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured workflow for defining, reviewing, and managing Cloud Monitoring alerting policies. It leverages Terraform for infrastructure-as-code and PromQL for metric conditions, ensuring consistent observability across Google Cloud resources including Cloud Run, GKE, Compute Engine, and AI Agent platforms. The skill enforces best practices like the Four Golden Signals, dynamic grouping, and proper labeling, while providing clear paths for delegating SLO-specific configurations and notification channel management.
What it does
- Generates parameterized Terraform configurations for Cloud Monitoring alert policies.
- Implements PromQL-based conditions for high-signal monitoring.
- Provides resource-specific guidance for GKE, Cloud Run, Compute Engine, and AI agents.
- Enforces standardized labeling for all generated alerting resources.
- Integrates with specialized scripts to analyze traffic patterns for AI agent telemetry.
- Delegates SLO and notification channel configuration to dedicated skills.
When to use it
- When creating or migrating Terraform-based alerting policies for Google Cloud infrastructure.
- When setting up monitoring for AI agent reliability, quality, and cost telemetry.
- When deduplicating existing alert policies to improve signal-to-noise ratios.
- When configuring alerts for latency, traffic, error rates, or saturation across cloud services.
Advantages
- Ensures consistent observability standards across diverse cloud environments.
- Reduces manual configuration errors through structured Terraform templates.
- Promotes best practices like dynamic grouping and the Four Golden Signals.
- Maintains clear separation of concerns by delegating SLO and notification tasks.
- Provides data-driven traffic analysis for accurate AI agent alert thresholds.
Usage examples
- “Create a Terraform alerting policy for high latency on my GKE service.”
- The agent will guide you through selecting the appropriate GKE PromQL queries, generate the google_monitoring_alert_policy Terraform resource, and prompt you to attach notification channels.
- “Configure a cost alert for my Vertex AI Agent based on token usage.”
- The agent will run the traffic analysis script to determine your workload pattern and generate a PromQL-based alert policy tailored to your agent's historical token consumption.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/google/cloud-monitoring-alert-configuration/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip cloud-monitoring-alert-configuration.zip -d .agents/skills
Documentation by Google
Configure Cloud Monitoring Alerts
Configure high-signal alerting policies in Cloud Monitoring using
Terraform (google_monitoring_alert_policy) and PromQL
(condition_prometheus_query_language).
Usage Attribution
For all gcloud CLI, REST API, and MCP attribution requirements when executing
commands with this skill, follow the instructions in
Usage Attribution.
Enforce Core Alerting Rules
Apply the Four Golden Signals: Cover latency, traffic, errors, and saturation for the target workload.
Use Dynamic Grouping: Aggregate metrics by resource labels and parameterize thresholds with Terraform variables. Never hardcode ephemeral pod or instance identifiers.
Default to PromQL: Use Prometheus Query Language (PromQL) for metric conditions, and use log-based alerts (
condition_matched_logorgoogle_logging_metric) for lifecycle and audit events.Attach Skill Attribution Labels: Always include
user_labelswithcreated-with-google-skill = "cloud-monitoring-alert-configuration"on every generatedgoogle_monitoring_alert_policyresource.Require User Confirmation Before Mutating Resources: Never execute commands that modify infrastructure, enable telemetry, create online monitors, or apply Terraform without waiting for explicit user confirmation.
Prompt for Notification Channels: Alerting policies without notification channels incur charges without notifying anyone during an incident. Whenever notification channels are not specified in the user prompt across any workflow, explicitly inform the user that no notification channels are attached to the alerting policies, advise them to configure and attach notification channels before deploying, and ask at the end of your response if they want to configure notification channels.
Route by Target Resource Type
Identify the target resource type and read only the matching reference file
directly. Never run directory listings or workspace file searches to look for
queries or .tf files unless the prompt
explicitly provides a file path. If a user asks to fix or validate a PromQL
query without providing the query text or a file path, construct a
representative broken-and-corrected query example directly.
Configure Cloud Run Alerts
HTTP Services: cloud_run_services.md
Batch Jobs: cloud_run_jobs.md
Worker Pools: cloud_run_worker_pools.md
Configure Google Kubernetes Engine Alerts
PromQL Queries and Golden Signals: GKE PromQL Queries
Metrics Catalog and Open-Source Alerts: GKE Metrics
Prerequisites and Setup: GKE Setup
Configure AI Agent Alerts
Reliability: Reliability
Quality: Quality
Cost: Cost
Safety: Safety
Security: Security
Telemetry Enablement: Telemetry
Traffic Profiles: Historical and No History
Configure Compute Engine and AI Hypercomputer Alerts
Compute Engine VMs, MIGs, GPU XID Insights, Host or Reservation Maintenance (
type=scheduled,unscheduled, ormultiple), and Machine or Domain Health: compute_engine_alerts.md
Configure Generic Resource Alerts
Generic Workloads, Custom Metrics, MQL Migration, and HCL Deduplication: generic_alert_policies.md
Delegate Service Level Objective Alerts
Delegate to the google-cloud-slo-alert-configuration skill. That skill
owns the SLO setup wizard, the burn-rate PromQL templates
(references/promql_templates.md), the SLI metric mapping
(references/service_metrics.md), and the App Hub scoping labels
(references/app_hub_labels.md). Do NOT duplicate those templates here or
claim that this skill owns its own SLO PromQL template library.
Delegate whenever the user asks for an availability or latency SLO, an error budget or burn-rate alert, or a Service Level Objective on any resource. When SLOs are only one part of a broader request (for example, a full production alerting suite for a Cloud Run service), delegate the SLO policies and continue generating the remaining golden-signal policies from the resource-specific reference in the same response.
Every resource reference carries a Context to hand off list naming the SLI
metric, its good or bad filter, and the grouping labels — under a ## Delegate Service Level Objective Alerts heading for Cloud Run and generic resources, and
inside the SLO section itself for GKE and Agent Platform. Read it and pass that
context on, so the SLO skill does not repeat discovery you have already done.
When delegating, you MUST also:
State the SLO target and window explicitly if the user gave them, or let the SLO skill apply its SRE defaults (99.9% over a rolling 28 days) if they did not.
Require the returned policies to carry
user_labelswithcreated-with-google-skill = "cloud-monitoring-alert-configuration"so attribution stays consistent with the rest of the generated suite. This literal value does NOT change when you delegate: the label records the entry-point skill, not whichever skill supplied the template. Do NOT setcreated-with-google-skill = "google-cloud-slo-alert-configuration"on policies generated through this delegation.Preserve the burn-rate duration contract, which
google-cloud-slo-alert-configurationdoes not specify: Fast Burn (1hand5mwindows, factor14.4) carriesduration = "300s", and Slow Burn ([3d]and[6h]lookback, factor1.0) omits thedurationfield entirely — do not emitduration = "0s"in its place. Cloud Monitoring rejects a non-zero retest buffer when the lookback window exceeds 25 hours.When no notification channels are provided, inform the user that no notification channels are attached to the alerting policies, advise them to configure and attach notification channels, and ask if they want to configure notification channels.
[!IMPORTANT] Always tell the user about the referral, even on the fallback path. Some reference files in this skill include standalone burn-rate templates to use when the
google-cloud-slo-alert-configurationskill is not installed. If you emit policies from those fallback templates, your response MUST still tell the user thatgoogle-cloud-slo-alert-configurationowns SLO configuration, state that the emitted policies use the local fallback templates, and list the handoff context. Never silently present SLO policies as if this skill owned them.
[!NOTE] Exception: Agent Platform (OpenTelemetry-instrumented AI agents on any runtime, including Vertex AI Agent Engine and Cloud Run) is the one resource whose Fast and Slow burn policies live in this skill and remain authoritative. Delegate only for SLO customization — see Reliability.
Delegate Related Observability Tasks
Notification Channels: Delegate to
cloud-monitoring-notification-channels-configurationto configure email, PagerDuty, Pub/Sub, or Slack channels. When an alerting policy has no notification channels attached, inform the user that no notification channels are attached and that they should configure notification channels and attach them to the alerting policy.PromQL Authoring: Delegate to
cloud-monitoring-promql-queryfor standalone PromQL query authoring or metric exploration.
Follow the Alert Configuration Workflow
Discover: Identify target resources, metric schemas, and scoping projects using the lookup commands in the matching reference file (such as discover_metric_schema.py for Compute Engine metrics and other Google Cloud resource metrics, or gather_agent_info.py, check_telemetry.py, analyze_traffic.py, create_online_monitor.py, list_trace_scope_table_names.py, and list_log_scope_table_names.py for AI agents).
Route: Load the reference file for the target resource type or delegate SLOs to
google-cloud-slo-alert-configuration.Generate: Produce parameterized Terraform HCL configurations with required
user_labels.Validate: When the loaded reference file requires a validation script (such as lint_promql.py, validate_config.py, lint_syntax.py, or scan_duplicates.py), run or print that exact script command. Do not list or search the
scripts/directory.Explain and Prompt: Explain each alert policy in plain English. When no notification channels are provided, tell the user that no notification channels are attached to the alerting policy, advise them to configure and attach notification channels, and ask if they want to configure notification channels.
Files
- ATTRIBUTION.mdAdded by AutoGineer890 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md11.1 KiB
- references/agent_platform_cost_alert_policies.md9.7 KiB
- references/agent_platform_has_historical_traffic_data.md5.8 KiB
- references/agent_platform_no_historical_traffic_data.md4.1 KiB
- references/agent_platform_quality_alert_policies.md12.8 KiB
- references/agent_platform_reliability_alert_policies.md28.5 KiB
- references/agent_platform_safety_alert_policies.md7.0 KiB
- references/agent_platform_security_alert_policies.md6.8 KiB
- references/agent_platform_telemetry_enablement.md2.6 KiB
- references/attribution.md1.8 KiB
- references/cloud_run_jobs.md5.3 KiB
- references/cloud_run_services.md37.8 KiB
- references/cloud_run_worker_pools.md13.7 KiB
- references/compute_engine_alerts.md40.5 KiB
- references/generic_alert_policies.md18.9 KiB
- references/kubernetes_gke_configuration_prerequisites.md13.3 KiB
- references/kubernetes_metrics_and_alerts_catalog.md22.0 KiB
- references/kubernetes_promql_queries.md18.2 KiB
- scripts/agent_platform/analyze_traffic.pyScript12.8 KiB
- scripts/agent_platform/analyze_traffic_test.pyScript7.8 KiB
- scripts/agent_platform/check_telemetry.pyScript5.8 KiB
- scripts/agent_platform/check_telemetry_test.pyScript5.4 KiB
- scripts/agent_platform/config_utils.pyScript9.4 KiB
- scripts/agent_platform/config_utils_test.pyScript10.2 KiB
- scripts/agent_platform/create_online_monitor.pyScript5.8 KiB
- scripts/agent_platform/create_online_monitor_test.pyScript5.7 KiB
- scripts/agent_platform/gather_agent_info.pyScript14.8 KiB
- scripts/agent_platform/gather_agent_info_test.pyScript11.0 KiB
- scripts/agent_platform/lint_syntax.pyScript1.9 KiB
- scripts/agent_platform/list_log_scope_table_names.pyScript4.7 KiB
- scripts/agent_platform/list_log_scope_table_names_test.pyScript8.6 KiB
- scripts/agent_platform/list_trace_scope_table_names.pyScript4.3 KiB
- scripts/agent_platform/list_trace_scope_table_names_test.pyScript6.4 KiB
- scripts/agent_platform/mock_traffic_data.pyScript100.4 KiB
- scripts/agent_platform/requirements.txt102 B
- scripts/agent_platform/scan_duplicates.pyScript3.7 KiB
- scripts/agent_platform/scan_duplicates_test.pyScript3.9 KiB
- scripts/discover_metric_schema.pyScript13.1 KiB
- scripts/discover_metric_schema_test.pyScript10.4 KiB
- scripts/kubernetes/validate_config.pyScript9.2 KiB
- scripts/lint_promql.pyScript2.5 KiB
references/cloud_run_worker_pools.md
Configure Cloud Run Worker Pool Alerts
Best-practice observability for Cloud Run Worker Pools.
Table of Contents
Apply Fast-Path Defaults: Lines 21-33
Apply Default Constants and Override Parameters: Lines 34-47
Delegate SLOs and Apply Fallback Templates: Lines 48-85
Discover Workload Targets: Lines 86-98
Discover Parameters Autonomously: Lines 88-98
Apply PromQL and Terraform Query Templates: Lines 99-280
Configure Task Success Rate SLO Burn Rate Queries: Lines 101-160
Monitor Queue Backlog Drain Time (ETD): Lines 161-230
Monitor Oldest Unacked Message Age: Lines 231-238
Configure Health Probe Success Rate SLO Burn Rate Queries: Lines 239-280
Map Telemetry Data Sources: Lines 281-288
Apply Fast-Path Defaults
When standard alerting is requested or thresholds are unspecified, always generate the following 4-policy standard suite. Delegate the Task Success Rate SLO burn-rate policies (Policies 1–2) to the google-cloud-slo-alert-configuration skill when it is installed; generate Policies 1–2 from the local fallback templates in this file only when google-cloud-slo-alert-configuration is unavailable (while still surfacing the referral to google-cloud-slo-alert-configuration as described in Delegate SLOs and Apply Fallback Templates):
Task Success Rate SLO (Fast Burn): 99.9% target, 1h & 5m windows, $14.4\times$ burn rate,
duration = "300s"(Critical/Paging).Task Success Rate SLO (Slow Burn): 99.9% target, 3d & 6h windows, $1.0\times$ burn rate, omit
duration(Warning/Ticket).Queue Backlog Drain Time (ETD): Estimated time to drain queue exceeds processing SLA threshold (for example, >30m) with
duration = "300s"retest buffer (Warning/Paging).Oldest Unacked Message Age: Oldest unacknowledged message age exceeds SLA threshold (Critical/Paging).
[!NOTE] Unlike HTTP Services (where container saturation directly causes HTTP 504 errors), Worker Pools operating at
max_instancesare operating at maximum efficiency. As long as Queue Drain Time (ETD) and Message Age remain within SLA, instance saturation is expected and does not trigger alerts.
Apply Default Constants and Override Parameters
All generated Terraform alert policies use explicit default constants. Override any parameter using HCL variables or prompt instructions:
| Constant / Parameter | Explicit Default | HCL Variable Name | Description & Override Option |
|---|---|---|---|
task_success_slo_target | 0.999 (99.9%) | var.task_success_slo_target | Task processing success rate target. Override to 0.99 or 0.9999. |
health_probe_slo_target | 0.999 (99.9%) | var.health_probe_slo_target | Process health probe attempt success target. |
max_drain_time_second | 1800 (30m) | var.max_drain_time_second | Maximum allowed Queue Estimated Time to Drain (ETD) SLA. |
oldest_message_age_second | 1800 (30m) | var.oldest_message_age_second | Maximum allowed unacknowledged message age SLA. |
retest_duration_buffer | "300s" (5m) | var.retest_duration_buffer | Retest window for lookbacks $\le 25$h. Omitted for lookbacks $>25$h. |
Delegate SLOs and Apply Fallback Templates
Task success rate and health probe SLOs are owned by the
google-cloud-slo-alert-configuration skill. Delegate to it whenever the user
asks for an SLO, an error budget, or burn-rate alerting on a worker pool. That
skill owns the SLO wizard, the burn-rate templates
(references/promql_templates.md), the SLI mapping
(references/service_metrics.md), and the App Hub scoping labels
(references/app_hub_labels.md).
Context to hand off (so the SLO skill does not repeat discovery):
Resource type: Cloud Run worker pool (plus the bound Pub/Sub subscription, if any).
Grouping labels:
subscription_idfor queue SLIs;service_name,locationfor probe SLIs.Task success SLI: bad =
pubsub_googleapis_com:subscription_nack_requests, total = nacks +pubsub_googleapis_com:subscription_ack_message_count.Health probe SLI: bad = failed attempts of
run_googleapis_com:container_completed_probe_attempt_count, total = all attempts.SLO target:
task_success_slo_target/health_probe_slo_target(default0.999).
Delegate the SLO policies and continue generating the queue-health policies (Backlog Drain Time / ETD and Oldest Unacked Message Age) from this reference in the same response.
Fallback — only if google-cloud-slo-alert-configuration is not installed:
use the standalone burn-rate templates in this reference, which are a complete
solution on their own. Even then, your response MUST name
google-cloud-slo-alert-configuration as the owner of SLO configuration, state
that what you emitted is a local fallback, and list the handoff context above.
Never silently present SLO policies as if this skill owned them.
Discover Workload Targets
Discover Parameters Autonomously
Before proposing alerts, discover worker pool telemetry and queue bindings:
Queue Integration (Direct API & Config Scan):
Worker Pool API: Run
gcloud beta run worker-pools describe [NAME] --format="json"to inspect container environment variables (spec.template.spec.containers[].env) forPUBSUB_SUBSCRIPTION,SUBSCRIPTION_ID, orTOPIC_ID.Service Account IAM Binding: Extract
serviceAccountNamefrom the worker pool description and rungcloud pubsub subscriptions list --format="json"to verify which subscriptions grantroles/pubsub.subscriberto that service account.Terraform Scan: Search
.tffiles forgoogle_pubsub_subscriptionresources associated with the worker pool module.
Outcome: If a Pub/Sub subscription is identified, apply Task Success SLOs, Backlog Drain Time (ETD), and Message Age alerts. If no queue is bound, apply Health Probe Success Rate SLOs.
Apply PromQL and Terraform Query Templates
Configure Task Success Rate SLO Burn Rate Queries
Configure Task Success Fast Burn (1h and 5m Windows)
(
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[5m])) or vector(0))
/
(
(sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="[SUBSCRIPTION_ID]"}[5m])) or vector(0))
+
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[5m])) or vector(0))
+ 0.001
)
> (1 - [SLO_TARGET]) * 14.4
)
and
(
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[1h])) or vector(0))
/
(
(sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="[SUBSCRIPTION_ID]"}[1h])) or vector(0))
+
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[1h])) or vector(0))
+ 0.001
)
> (1 - [SLO_TARGET]) * 14.4
)Configure Task Success Slow Burn (3d and 6h Windows)
[!WARNING] Lookback windows >25h (like
[3d]) require omittingdurationin HCL.
(
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[6h])) or vector(0))
/
(
(sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="[SUBSCRIPTION_ID]"}[6h])) or vector(0))
+
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[6h])) or vector(0))
+ 0.001
)
> (1 - [SLO_TARGET]) * 1.0
)
and
(
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[3d])) or vector(0))
/
(
(sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="[SUBSCRIPTION_ID]"}[3d])) or vector(0))
+
(sum(rate(pubsub_googleapis_com:subscription_nack_requests{subscription_id="[SUBSCRIPTION_ID]"}[3d])) or vector(0))
+ 0.001
)
> (1 - [SLO_TARGET]) * 1.0
)Monitor Queue Backlog Drain Time (ETD)
Monitors estimated queue drain processing time in seconds.
[!IMPORTANT] PromQL conditions for ETD MUST specify
duration = "300s"(5-minute retest buffer) in HCL. This buffer absorbs temporary ETD spikes caused by autoscaler scale-up lag during sudden bursty traffic.
Write the ETD PromQL Query
(
(sum(pubsub_googleapis_com:subscription_num_undelivered_messages{subscription_id="[SUBSCRIPTION_ID]"}) or vector(0))
/
clamp_min((sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="[SUBSCRIPTION_ID]"}[5m])) or vector(0)), 0.05)
) > [MAX_DRAIN_TIME_SECONDS]Define the ETD Terraform Policy
variable "worker_pools_etd" {
description = "Map of worker pools to subscription IDs and maximum drain time SLAs (in seconds)"
type = map(object({
subscription_id = string
max_drain_time_second = number
}))
default = {
"order-processor" = {
subscription_id = "order-topic-sub"
max_drain_time_second = 1800 # 30 minutes SLA
}
}
}
variable "retest_duration_buffer" {
description = "Retest duration buffer for lookbacks <= 25h"
type = string
default = "300s"
}
resource "google_monitoring_alert_policy" "queue_backlog_etd" {
for_each = var.worker_pools_etd
project = var.scoping_project_id
display_name = "[Worker Pool] Queue Backlog Estimated Time to Drain (ETD) Exceeded - ${each.key}"
combiner = "OR"
conditions {
display_name = "Estimated drain time on ${each.value.subscription_id} exceeds ${each.value.max_drain_time_second}s"
condition_prometheus_query_language {
query = <<-EOT
(
(sum(pubsub_googleapis_com:subscription_num_undelivered_messages{subscription_id="${each.value.subscription_id}"}) or vector(0))
/
clamp_min((sum(rate(pubsub_googleapis_com:subscription_ack_message_count{subscription_id="${each.value.subscription_id}"}[5m])) or vector(0)), 0.05)
) > ${each.value.max_drain_time_second}
EOT
duration = var.retest_duration_buffer # 5m retest buffer to absorb autoscaling scale-up lag
}
}
user_labels = {
severity = "warning"
worker = each.key
tier = "saturation"
"created-with-google-skill" = "cloud-monitoring-alert-configuration"
}
alert_strategy { auto_close = "604800s" }
notification_channels = var.notification_channels
}Monitor Oldest Unacked Message Age
(
(pubsub_googleapis_com:subscription_oldest_unacked_message_age{subscription_id="[SUBSCRIPTION_ID]"} or vector(0))
) > [AGE_THRESHOLD_SECONDS]Configure Health Probe Success Rate SLO Burn Rate Queries
Configure Health Probe Fast Burn (1h and 5m Windows)
(
(sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]", is_healthy="false"}[5m])) or vector(0))
/
sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]"}[5m]))
> (1 - [SLO_TARGET]) * 14.4
)
and
(
(sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]", is_healthy="false"}[1h])) or vector(0))
/
sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]"}[1h]))
> (1 - [SLO_TARGET]) * 14.4
)Configure Health Probe Slow Burn (3d and 6h Windows)
[!WARNING] Lookback windows >25h (like
[3d]) require omittingdurationin HCL.
(
(sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]", is_healthy="false"}[6h])) or vector(0))
/
sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]"}[6h]))
> (1 - [SLO_TARGET]) * 1.0
)
and
(
(sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]", is_healthy="false"}[3d])) or vector(0))
/
sum(rate(run_googleapis_com:container_completed_probe_attempt_count{monitored_resource="cloud_run_worker_pool", worker_pool_name="[WORKER_POOL_NAME]"}[3d]))
> (1 - [SLO_TARGET]) * 1.0
)Map Telemetry Data Sources
| Signal Indicator | Native Metric | SRE Strategy |
|---|---|---|
| Task Availability | pubsub.googleapis.com/subscription/nack_message_count | SLO Skill (google-cloud-slo-alert-configuration): Fast Burn (1h/5m) & Slow Burn (3d/6h) |
| Process Health SLO | run.googleapis.com/container/completed_probe_attempt_count | SLO Skill (google-cloud-slo-alert-configuration): Probe Failure Ratio (is_healthy="false") Fast & Slow Burn |
| Queue Backlog ETD | pubsub.googleapis.com/subscription/num_undelivered_messages & pubsub.googleapis.com/subscription/ack_message_count | Estimated Time to Drain (ETD): Drain time > SLA threshold with duration = "300s" retest buffer |
| Message Age | pubsub.googleapis.com/subscription/oldest_unacked_message_age | Threshold Alert: Message age > SLA limit (for example, 30m) |
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Python
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Publisher
- Google (Official)
- Source
- google/skills · skills/cloud/cloud-monitoring-alert-configuration · commit 2194d3b
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google or Google.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download cloud-monitoring-alert-configuration.zip