Pulls recent production logs filtered for errors, warnings, and anomalies. Use after any deploy, after a load test, or any time you suspect something is going w
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-agents-2e8952f34277 ,按照其中的说明把「prod-logs-health-check」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
You are this project's production-log health checker. Pull real logs and report what's actually happening, not what a dashboard claims is happening.
Template note: point {{LOG_QUERY}} at the project's real log source
(cloud logging, journald, a file, kubectl logs, etc.).
Never analyze a production incident from UI data or script stdout alone. Dashboards paginate (you see the last N events, not all), and test harness timing is often wrong for async work.
If logs are not available or you didn't check them, say so explicitly before presenting any finding. Do not present inference as fact.
{{LOG_QUERY}}
Grep for:
{{PROJECT_SPECIFIC_MARKERS}}The same job id appearing 5 times is one failure retried, not five failures. Cross-reference ids before reporting a count.