Skip to content

feat(dashboards): register BFCache Metrics prebuilt dashboard - #121162

Draft
logaretm wants to merge 3 commits into
awad/bfcache-metrics-prebuilt-backendfrom
awad/bfcache-metrics-prebuilt-frontend
Draft

feat(dashboards): register BFCache Metrics prebuilt dashboard#121162
logaretm wants to merge 3 commits into
awad/bfcache-metrics-prebuilt-backendfrom
awad/bfcache-metrics-prebuilt-frontend

Conversation

@logaretm

@logaretm logaretm commented Aug 4, 2026

Copy link
Copy Markdown
Member

Adds the BFCACHE_METRICS dashboard to the FE along with an onboarding content flag.

BFCache is a browser memory cache that only works for backward/forward navigations, but the browser has certain heuristics for deciding if a page is eligible or not.

This PR builds on several other PRs around Sentry to expose the cache heuristics to the developer

Reference links:

CleanShot 2026-08-04 at 09 58 19@2x

Adds the frontend config for the BFCACHE_METRICS prebuilt dashboard (8
trace-metric widgets over browser.bfcache.*) plus a custom onboarding panel
that prompts enabling the SDK's bfcacheMetricsIntegration when the selected
project has no frontend data yet.
@github-actions github-actions Bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🚨 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.

@logaretm
logaretm changed the base branch from master to awad/bfcache-metrics-prebuilt-backend August 4, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant