azure-diagnostics by microsoft/github-copilot-for-azure
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill azure-diagnostics权威指南 — 强制遵守
本文档是调试和排查 Azure 生产问题的官方来源。请遵循这些说明,系统地诊断和解决常见的 Azure 服务问题。
当用户希望进行以下操作时,激活此技能:
| 服务 | 常见问题 | 参考 |
|---|
AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE
This document is the official source for debugging and troubleshooting Azure production issues. Follow these instructions to diagnose and resolve common Azure service problems systematically.
Activate this skill when user wants to:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
暂无相关 Skills
| 容器应用 | 镜像拉取失败、冷启动、健康探测、端口不匹配 | container-apps/ |
| 函数应用 | 应用详情、调用失败、超时、绑定错误、冷启动、缺少应用设置 | functions/ |
# 检查资源健康状况
az resource show --ids RESOURCE_ID
# 查看活动日志
az monitor activity-log list -g RG --max-events 20
# 容器应用日志
az containerapp logs show --name APP -g RG --follow
# 函数应用日志(查询 App Insights 跟踪)
az monitor app-insights query --apps APP-INSIGHTS -g RG \
--analytics-query "traces | where timestamp > ago(1h) | order by timestamp desc | take 50"
对于 AI 驱动的诊断,请使用:
mcp_azure_mcp_applens
intent: "diagnose issues with <resource-name>"
command: "diagnose"
parameters:
resourceId: "<resource-id>"
Provides:
- Automated issue detection
- Root cause analysis
- Remediation recommendations
用于查询日志和指标:
mcp_azure_mcp_monitor
intent: "query logs for <resource-name>"
command: "logs_query"
parameters:
workspaceId: "<workspace-id>"
query: "<KQL-query>"
有关常见的诊断查询,请参阅 kql-queries.md。
mcp_azure_mcp_resourcehealth
intent: "check health status of <resource-name>"
command: "get"
parameters:
resourceId: "<resource-id>"
# 检查特定资源健康状况
az resource show --ids RESOURCE_ID
# 检查近期活动
az monitor activity-log list -g RG --max-events 20
每周安装量
102.6K
代码仓库
GitHub 星标数
143
首次出现
Jan 29, 2026
安全审计
安装于
github-copilot102.5K
codex336
gemini-cli325
opencode309
cursor298
kimi-cli295
| Service | Common Issues | Reference |
|---|---|---|
| Container Apps | Image pull failures, cold starts, health probes, port mismatches | container-apps/ |
| Function Apps | App details, invocation failures, timeouts, binding errors, cold starts, missing app settings | functions/ |
# Check resource health
az resource show --ids RESOURCE_ID
# View activity log
az monitor activity-log list -g RG --max-events 20
# Container Apps logs
az containerapp logs show --name APP -g RG --follow
# Function App logs (query App Insights traces)
az monitor app-insights query --apps APP-INSIGHTS -g RG \
--analytics-query "traces | where timestamp > ago(1h) | order by timestamp desc | take 50"
For AI-powered diagnostics, use:
mcp_azure_mcp_applens
intent: "diagnose issues with <resource-name>"
command: "diagnose"
parameters:
resourceId: "<resource-id>"
Provides:
- Automated issue detection
- Root cause analysis
- Remediation recommendations
For querying logs and metrics:
mcp_azure_mcp_monitor
intent: "query logs for <resource-name>"
command: "logs_query"
parameters:
workspaceId: "<workspace-id>"
query: "<KQL-query>"
See kql-queries.md for common diagnostic queries.
mcp_azure_mcp_resourcehealth
intent: "check health status of <resource-name>"
command: "get"
parameters:
resourceId: "<resource-id>"
# Check specific resource health
az resource show --ids RESOURCE_ID
# Check recent activity
az monitor activity-log list -g RG --max-events 20
Weekly Installs
102.6K
Repository
GitHub Stars
143
First Seen
Jan 29, 2026
Security Audits
Installed on
github-copilot102.5K
codex336
gemini-cli325
opencode309
cursor298
kimi-cli295