Built-in diagnostics
azure_diagnosticsRun Azure's built-in diagnostic detectors to analyze crashes, restarts, HTTP 5xx, CPU/memory pressure, SNAT exhaustion, and deployment failures. List detectors, then specify one.
Instructions
Runs Azure's built-in "Diagnose and solve problems" detectors for App Service, Function apps and Container Apps. These analyze platform data you cannot query yourself: crashes, restarts, HTTP 5xx breakdowns, CPU and memory pressure, SNAT port exhaustion, deployment and container start failures. Call without detector to list the available detectors, then call again with a detector id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours to look back (default 24, max 720). | |
| detector | No | Detector id. Omit to list detectors. | |
| resourceId | Yes | Resource ID of an App Service, Function app, slot, Container App or Container Apps environment. |