Skip to content

High response time detected; slot swap executed – sreproactive-vscode-39596 #113

@gderossilive

Description

@gderossilive

Summary:

  • Alert: sreproactive-plan-cpu-high (Sev2) on App Service plan
  • App: sreproactive-vscode-39596
  • Current avg response time (pre-swap, last 5m @ 2026-05-12T23:42:34Z): 39.03535 ms
  • Baseline (from baseline.txt @ 2026-05-12T09:30:58.5126352Z): 31.18436111111111 ms
  • Deviation: +25.17% (>=20%)
  • Action taken: Slot swap executed (staging -> production)
  • Swap time (UTC): 2026-05-12T23:46:54.106000+00:00
  • Post-swap avg response time (2026-05-12T23:46:54Z..23:48:00Z): 739.7378 ms (regressed)

Evidence:

let startTime=datetime(2026-05-12T23:37:34Z);
let endTime=datetime(2026-05-12T23:42:34Z);
requests
| where timestamp >= startTime and timestamp <= endTime
| where cloud_RoleName <> '' and not(cloud_RoleName contains "staging")
| summarize CurrentResponseTime = avg(duration) by cloud_RoleName
| extend CurrentTimestamp = endTime
  • App Insights KQL (post-swap window):
let startTime=datetime(2026-05-12T23:46:54Z);
let endTime=datetime(2026-05-12T23:48:00Z);
requests
| where timestamp >= startTime and timestamp <= endTime
| where cloud_RoleName <> '' and not(cloud_RoleName contains "staging")
| summarize CurrentResponseTime = avg(duration) by cloud_RoleName
| extend CurrentTimestamp = endTime
  • Baseline source: baseline.txt with BaselineResponseTime=31.18436111111111; BaselineTimestamp=2026-05-12T09:30:58.5126352Z
  • Artifacts: response_time_evidence_20260512T234843Z.png, response_time_evidence_20260512T234843Z.csv (generated during investigation)

Request:

  • Investigate regression post swap. Potential causes: code/config performance issues in newly promoted slot, startup warmup delay, dependency latency.
  • Provide remediation plan and consider rollback if persistent.

Context:

  • Resource group: rg-sre-proactive-demo, Subscription: 06dbbc7b-2363-4dd4-9803-95d07f1a8d3e
  • Web App: sreproactive-vscode-39596
  • AI resource: sreproactive-vscode-39596-ai

This issue was created by sre-agent-proactive-demo--73aee8f4
Tracked by the SRE agent here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions