alibabacloud-emas-apm-query
Installation
SKILL.md
alibabacloud-emas-apm-query
1. Scenario Description & Architecture
After a mobile app integrates Alibaba Cloud EMAS APM, the crash / anr / lag / custom / memory_leak / memory_alloc events it produces every day are aggregated and reported by the SDK to the backend. A typical troubleshooting workflow is:
- Figure out which Issues are most worth fixing: sort by error rate / error count → pick Top 3~5
- Inspect what a specific Issue looks like: fetch its aggregated metrics and affected versions
- Find several representative samples: across different devices / versions / networks
- Read the stack + business log in a sample: find actionable clues
- Compare against the app source code and propose a fix
This skill stitches the 5 steps above into a single CLI pipeline. The entire process only calls the 4 read-only APIs of aliyun emas-appmonitor, and depends on no database / log service:
GetIssues → GetIssue → GetErrors → GetError
↓
(optional) stack ↔ user APP source → precise file:line + fix diff
Related skills