Skip to content

Gap-6: App Service Diagnose (B → A) — Dedicated troubleshooting guide + MCP tool usage #1614

@paulyuk

Description

@paulyuk

Parent: #1608

App Service Diagnose: B → A

Learning from: Container Apps (B+) — dedicated troubleshooting guide with specific flows for image pulls, cold starts, health probes

Current state: No dedicated App Service diagnostic reference. Falls back to general AppLens. Despite having 7 MCP commands, no guidance on when/how to use each.

Deliverables

  • references/app-service/README.md in azure-diagnostics — Troubleshooting guide:
    • High CPU/memory diagnosis (specific AppLens detectors)
    • Deployment failure analysis (Kudu logs, deployment history API)
    • Application crash/restart diagnosis (Event Log, STDERR)
    • Slow response time investigation (request tracing, dependency analysis)
    • Custom domain / TLS certificate issues
  • MCP tool usage guide — when to use each of the 7 App Service MCP commands for diagnostics
  • Add 2 integration tests: deployment failure troubleshooting, high CPU diagnosis

Key Scenarios

  • "My app is slow" → CPU profiler, request traces, dependency map
  • "My deployment failed" → Kudu logs, SCM site, deployment history
  • "My app keeps restarting" → event logs, health check failures, memory limits

⚠️ Starting assessment — domain experts should modify or contribute what they believe is essential.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions