Add profile command to surface profiling data
@BYK is already working on this.
Since Feb 5, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Add a profile command that fetches and displays profiling data from Sentry in a format useful for analysis (both human and LLM consumption).
Background
From internal discussion: Adding profile support to the CLI would allow LLMs to grep/analyze profiling data.
Proposed Approach
- Fetch profile data from Sentry API
- Convert to a graph structure and surface the leaf nodes with the most samples
- Ignore system frames to produce cleaner results
- Output in a consumable format (e.g., markdown table, JSON) that works well for both humans and LLM analysis
Potential Output
- Top functions by sample count (excluding system frames)
- Call hierarchy / flamegraph as markdown
- Hotspot identification
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·