Scale service capacity
reduce CPU pressure immediately
checkout-api · simulated_success
A single alert comes in. ZeroTouch SRE checks operational context, builds a root-cause hypothesis, chooses policy-safe actions, and leaves a review trail for the human owner.
openpipeline:events:ingest scope. When connected, ZeroTouch SRE pushes events to your Dynatrace and queries your logs — proving live bidirectional integration.checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.
reduce CPU pressure immediately
checkout-api · simulated_successrelease correlated with 500 spike
checkout-api · simulated_successcoordinate SRE and owning team
INC-CHECKOUT-20260607 · simulated_successDYNATRACE_MCP_COMMAND not set
Actions are simulated and policy-gated. No destructive production write is performed in this hosted environment.
# ZeroTouch SRE Post-Mortem: INC-CHECKOUT-20260607
## Executive Summary
ZeroTouch SRE received a `critical` alert for `checkout-api` and completed an autonomous perceive, reason, plan, execute cycle. The agent used `gemini-3.5-flash` for the high-speed incident loop and `gemini-3.1-pro` for this report synthesis.
## Root Cause
checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.
Confidence: 0.92
## Telemetry Source
Dynatrace MCP mode: `mock fallback note: DYNATRACE_MCP_COMMAND not set`
## Evidence
- `2026-06-07T00:12:20Z` ERROR: checkout-api worker timeout while waiting for payment dependency
- `2026-06-07T00:13:03Z` WARN: horizontal pod autoscaler at max replicas; CPU target exceeded
- `2026-06-07T00:13:44Z` ERROR: HTTP 500 spike correlated with release checkout-api:2026.06.07-rc2
## Incident Timeline
- `2026-12-03T18:20:44.798037+00:00` **perceive**: Alert received for checkout-api: Checkout API CPU spike and HTTP 500 surge
- `2026-06-07T00:12:20Z` **evidence**: ERROR: checkout-api worker timeout while waiting for payment dependency
- `2026-06-07T00:13:03Z` **evidence**: WARN: horizontal pod autoscaler at max replicas; CPU target exceeded
- `2026-06-07T00:13:44Z` **evidence**: ERROR: HTTP 500 spike correlated with release checkout-api:2026.06.07-rc2
- `2026-12-03T18:20:48.059407+00:00` **reason**: Root cause identified with confidence 0.92.
- `2026-12-03T18:20:48.059418+00:00` **plan**: Selected strategy: stabilize then rollback.
- `2026-12-03T18:20:48.058767+00:00` **execute**: Simulated 3 mitigation actions.
## Mitigation Plan
Strategy: **stabilize then rollback**
- scale_service on `checkout-api`: simulated_success (reduce CPU pressure immediately)
- rollback_release on `checkout-api`: simulated_success (release correlated with 500 spike)
- open_incident_channel on `INC-CHECKOUT-20260607`: simulated_success (coordinate SRE and owning team)
## Simulated Outcome
error rate and latency expected to recover after rollback propagation.
## Follow-Up Actions
- Add a bounded retry guard around the payment dependency.
- Add an SLO burn alert for checkout HTTP 500 rate above 2%.
- Require release analysis when CPU and error rate regress within 15 minutes of deployment.
- Keep the MCP fallback path enabled for demos and auth outages.
## Billing Guard Snapshot
```json
{
"input_tokens": 4500,
"output_tokens": 2000,
"total_tokens": 6500,
"estimated_cost_inr": 2.05425,
"monthly_guardrail_inr": 900.0,
"credit_budget_inr": 2549.56
}
```
{
"incident": {
"id": "INC-CHECKOUT-20260607",
"service": "checkout-api",
"severity": "critical",
"title": "Checkout API CPU spike and HTTP 500 surge"
},
"telemetry": {
"mode": "mock",
"error": "DYNATRACE_MCP_COMMAND not set",
"source": "mock-dynatrace",
"metrics": {
"cpu_utilization_pct": 94.7,
"memory_utilization_pct": 71.2,
"p95_latency_ms": 1840,
"http_500_rate_pct": 7.8,
"pod_restart_count": 3
}
},
"reasoning": {
"model": "gemini-3.5-flash",
"agent_runtime": {
"phase": "reason",
"runtime": "google-adk",
"model": "gemini-3.5-flash",
"adk_available": true
},
"source": "deterministic-fallback",
"root_cause": "checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.",
"confidence": 0.92,
"evidence_count": 3
},
"plan": {
"model": "gemini-3.5-flash",
"agent_runtime": {
"phase": "plan",
"runtime": "google-adk",
"model": "gemini-3.5-flash",
"adk_available": true
},
"source": "deterministic-fallback",
"strategy": "stabilize then rollback",
"steps": [
{
"action": "scale_service",
"target": "checkout-api",
"replicas": 8,
"reason": "reduce CPU pressure immediately"
},
{
"action": "rollback_release",
"target": "checkout-api",
"version": "checkout-api:2026.06.07-rc2",
"reason": "release correlated with 500 spike"
},
{
"action": "open_incident_channel",
"target": "INC-CHECKOUT-20260607",
"reason": "coordinate SRE and owning team"
}
],
"risk": "low",
"reasoning_summary": "checkout-
[preview truncated]
{
"ok": true,
"incident_id": "INC-CHECKOUT-20260607",
"status": "mitigated",
"root_cause": "checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.",
"mitigation": {
"mode": "simulation",
"executed_at": "2026-12-03T18:20:48.058767+00:00",
"policy": {
"name": "safe-simulation-allowlist",
"allowed_actions": [
"open_incident_channel",
"rollback_release",
"scale_service"
],
"live_write_access": false,
"requires_human_for_destructive_actions": true
},
"actions": [
{
"sequence": 1,
"action": "scale_service",
"target": "checkout-api",
"status": "simulated_success",
"reason": "reduce CPU pressure immediately",
"approval": "auto-approved by safe simulation allowlist",
"destructive": false
},
{
"sequence": 2,
"action": "rollback_release",
"target": "checkout-api",
"status": "simulated_success",
"reason": "release correlated with 500 spike",
"approval": "auto-approved by safe simulation allowlist",
"destructive": false
},
{
"sequence": 3,
"action": "open_incident_channel",
"target": "INC-CHECKOUT-20260607",
"status": "simulated_success",
"reason": "coordinate SRE and owning team",
"approval": "auto-approved by safe simulation allowlist",
"destructive": false
}
],
"customer_impact": "error rate and latency expected to recover after rollback propagation"
},
"telemetry_mode": "mock",
"telemetry": {
"mode": "mock",
"source": "mock-dynatrace",
"live_attempted": true,
"fallback_note": "DYNATRACE_MCP_COMMAND not set",
"environment_url": ""
},
"post_mortem_path": "/app/reports/post_mortem_20261203_182048.md",
"runbook_path": "/app/reports/runbook_20261203_182048.json",
"trace_path": "/app/reports/agent_trace_20261203_182048.json",
"artifact_previews": {
"post_mortem": "# ZeroTouch SRE Post-Mortem: INC-CHECKOUT-20260607\n\n## Executive Summary\n\nZeroTouch SRE received a `critical` alert for `checkout-api` and completed an autonomous perceive, reason, plan, execute cycle. The agent used `gemini-3.5-flash` for the high-speed incident loop and `gemini-3.1-pro` for this report synthesis.\n\n## Root Cause\n\ncheckout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.\n\nConfidence: 0.92\n\n## Telemetry Source\n\nDynatrace MCP mode: `mock fallback note: DYNATRACE_MCP_COMMAND not set`\n\n## Evidence\n\n- `2026-06-07T00:12:20Z` ERROR: checkout-api worker timeout while waiting for payment dependency\n- `2026-06-07T00:13:03Z` WARN: horizontal pod autoscaler at max replicas; CPU target exceeded\n- `2026-06-07T00:13:44Z` ERROR: HTTP 500 spike correlated with release checkout-api:2026.06.07-rc2\n\n## Incident Timeline\n\n- `2026-12-03T18:20:44.798037+00:00` **perceive**: Alert received for checkout-api: Checkout API CPU spike and HTTP 500 surge\n- `2026-06-07T00:12:20Z` **evidence**: ERROR: checkout-api worker timeout while waiting for payment dependency\n- `2026-06-07T00:13:03Z` **evidence**: WARN: horizontal pod autoscaler at max replicas; CPU target exceeded\n- `2026-06-07T00:13:44Z` **evidence**: ERROR: HTTP 500 spike correlated with release checkout-api:2026.06.07-rc2\n- `2026-12-03T18:20:48.059407+00:00` **reason**: Root cause identified with confidence 0.92.\n- `2026-12-03T18:20:48.059418+00:00` **plan**: Selected strategy: stabilize then rollback.\n- `2026-12-03T18:20:48.058767+00:00` **execute**: Simulated 3 mitigation actions.\n\n## Mitigation Plan\n\nStrategy: **stabilize then rollback**\n\n- scale_service on `checkout-api`: simulated_success (reduce CPU pressure immediately)\n- rollbac\n\n[preview truncated]",
"runbook": "{\n \"incident\": {\n \"id\": \"INC-CHECKOUT-20260607\",\n \"service\": \"checkout-api\",\n \"severity\": \"critical\",\n \"title\": \"Checkout API CPU spike and HTTP 500 surge\"\n },\n \"telemetry\": {\n \"mode\": \"mock\",\n \"error\": \"DYNATRACE_MCP_COMMAND not set\",\n \"source\": \"mock-dynatrace\",\n \"metrics\": {\n \"cpu_utilization_pct\": 94.7,\n \"memory_utilization_pct\": 71.2,\n \"p95_latency_ms\": 1840,\n \"http_500_rate_pct\": 7.8,\n \"pod_restart_count\": 3\n }\n },\n \"reasoning\": {\n \"model\": \"gemini-3.5-flash\",\n \"agent_runtime\": {\n \"phase\": \"reason\",\n \"runtime\": \"google-adk\",\n \"model\": \"gemini-3.5-flash\",\n \"adk_available\": true\n },\n \"source\": \"deterministic-fallback\",\n \"root_cause\": \"checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.\",\n \"confidence\": 0.92,\n \"evidence_count\": 3\n },\n \"plan\": {\n \"model\": \"gemini-3.5-flash\",\n \"agent_runtime\": {\n \"phase\": \"plan\",\n \"runtime\": \"google-adk\",\n \"model\": \"gemini-3.5-flash\",\n \"adk_available\": true\n },\n \"source\": \"deterministic-fallback\",\n \"strategy\": \"stabilize then rollback\",\n \"steps\": [\n {\n \"action\": \"scale_service\",\n \"target\": \"checkout-api\",\n \"replicas\": 8,\n \"reason\": \"reduce CPU pressure immediately\"\n },\n {\n \"action\": \"rollback_release\",\n \"target\": \"checkout-api\",\n \"version\": \"checkout-api:2026.06.07-rc2\",\n \"reason\": \"release correlated with 500 spike\"\n },\n {\n \"action\": \"open_incident_channel\",\n \"target\": \"INC-CHECKOUT-20260607\",\n \"reason\": \"coordinate SRE and owning team\"\n }\n ],\n \"risk\": \"low\",\n \"reasoning_summary\": \"checkout-api saturated CPU at 94.7% after payment retry loop changed from capped to unbounded; HTTP 500 rate reached 7.8% with p95 latency 1840 ms.\"\n },\n \"mitigation\": {\n \"mode\": \"simulation\",\n \"executed_at\": \"2026-12-03T18:20:48.058767+00:00\",\n \"policy\": {\n \"name\": \"safe-simulation-allowlist\",\n \"allowed_actions\": [\n \"open_incident_channel\",\n \"rollback_release\",\n \"scale_service\"\n ],\n \"live_write_access\": false,\n \"requires_human_for_destructive_actions\": true\n },\n \"actions\": [\n {\n \"sequence\": 1,\n \"action\": \"scale_service\",\n \"target\": \"checkout-api\",\n \"status\": \"simulated_success\",\n \"reason\": \"reduce CPU pressure immediately\",\n \"approval\": \"auto-approved by safe simulation allowlist\",\n\n[preview truncated]"
},
"billing": {
"input_tokens": 4500,
"output_tokens": 2000,
"total_tokens": 6500,
"estimated_cost_inr": 2.05425,
"monthly_guardrail_inr": 900.0,
"credit_budget_inr": 2549.56
}
}