[Hackweek] Issue HotSpots
Hackweek 2022 - Project "Code HotSpots"
This adds a birds eye view of the files causing issues in your code base. This is done with a circle packing diagram in the header of the Issues list.
-
WARNING: This displays static demo data. If you want your actual data, remove this huge
outputvariable: the staticoutputarray from the comment and copy it before the return statement: https://github.com/getsentry/sentry/blob/nirajdewani/issues-hotspots/src/sentry/api/endpoints/organization_issues_hotspots.py#L295-L520 - The size of the bubble represents the number of issues this file caused
- The color of the bubble represents the number of distinct errors the file caused
- Clicking on bubbles will zoom in, clicking outside will reset the zoom.
- Currently the time frame is fixed to the last 90 days
See also: https://hackweek.getsentry.net/projects/-N8U6LWmRCbF6E1RGZEY/code-hotspots
🚨 Warning: This pull request contains Frontend and Backend changes!
It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.
Have questions? Please ask in the #discuss-dev-infra channel.
size-limit report 📦
| Path | Size |
|---|---|
| src/sentry/static/sentry/dist/entrypoints/app.js | 63.18 KB (-0.06% 🔽) |
| src/sentry/static/sentry/dist/entrypoints/sentry.css | 70.77 KB (0%) |
This pull request has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀