"Cache Miss Rates" section doesn't respect organization-based routing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
- Use this image:
ghcr.io/getsentry/sentry:819ece03dbdae3b636bbf73b2fa666b51f260630 - Enable these feature flags:
"organizations:navigation-sidebar-v2", "organizations:navigation-sidebar-v2-banner", "organizations:command-menu-v2", "organizations:insights-session-health-tab-ui", "organizations:insights-modules-use-eap", "organizations:insights-overview-use-eap" "organizations:insights-mobile-screens-module", - Go to Insights -> Backend from the web UI, see this result:
Expected Result
On self-hosted, the link should be generated with the useOrganizations() React hooks.
The final link should be: https://sentry.internal.company.com/organizations/[organization-name]/insights/backend/caches?project=1&transaction=POST%20/account-status
Actual Result
See step to reproduce.
Product Area
Insights
Link
No response
DSN
No response
Version
819ece03dbdae3b636bbf73b2fa666b51f260630
Contributor guide
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.
Research direction
Start from the Insights → Backend view and locate the “Cache Miss Rates” section, then trace how its span links are constructed. Verify the link-generation path uses the useOrganizations() React hook and that the finished URL includes the organization name before /insights/backend/caches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100