A global retail organization runs an online checkout service hosted on Google Cloud. During peak promotional events, downstream service dependencies occasionally experience transient latency spikes that consume the service level objective (SLO) error budget. The SRE team needs to implement an incident management and automated alerting strategy that minimizes alert fatigue by notifying on-call engineers only when the error budget is burning at a rate that risks an SLO breach, while simultaneously initiating automated remediation to reroute non-critical traffic via a Cloud Run service. Which approach should the cloud architect recommend?
- AConfigure an Application Load Balancer health check to directly query downstream database endpoints so that backend instances experiencing elevated latency are automatically drained from service.
- Configure Cloud Monitoring alerting policies using multi-window, multi-burn-rate conditions on the latency Service Level Indicator (SLI), sending notifications to an incident channel and publishing alert state changes to a Pub/Sub topic that triggers the Cloud Run remediation service.Answer
- CConfigure static threshold alerts in Cloud Monitoring set to evaluate 99th percentile response latency over 1-minute alignment intervals, triggering immediate PagerDuty webhooks and Cloud Run remediation.
- DConfigure Cloud Logging aggregate exclusion filters to drop latency logs during high-volume traffic events, and configure Compute Engine autoscaling based on CPU utilization to trigger Pub/Sub incident notifications.
Answer
Configure Cloud Monitoring alerting policies using multi-window, multi-burn-rate conditions on the latency Service Level Indicator (SLI), sending notifications to an incident channel and publishing alert state changes to a Pub/Sub topic that triggers the Cloud Run remediation service.
The solution using multi-window multi-burn-rate alert policies aligns with Google Cloud SRE best practices. It measures how rapidly the SLO error budget is being consumed over both short (e.g., 5 minutes) and long (e.g., 1 hour) lookback windows. This prevents alert fatigue from brief non-critical latency bursts while ensuring timely notification for true incidents. Routing notifications through Pub/Sub provides a reliable event-driven mechanism to trigger Cloud Run for automated incident mitigation.
Step-by-Step Solution
Key Concept
Multi-Window Multi-Burn-Rate Alerting & Automated Incident Response Integration