Skill
eagleeye-traceid
使用 Arthas 的 watch/trace 获取 EagleEye traceId / 获取请求的 traceId
排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)
$ npx -y skills add alibaba/arthas --skill cpu-high --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cpu-highContext preview
The summary Claude sees to decide when to auto-load this skill.
排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)
name: arthas-cpu-high description: 排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)
适用场景:机器 CPU 飙高、应用响应变慢、负载异常升高。
原则:先用低风险工具定位「哪个线程在忙」,再逐步缩小到「哪个方法/代码路径」。
判断方向:
当热点线程堆栈指向某个「可疑方法」时:
报告至少包含:
Repo: alibaba/arthas
使用 Arthas 的 watch/trace 获取 EagleEye traceId / 获取请求的 traceId
排查 Spring ApplicationContext / Bean / 配置注入等问题