Title: Frontend performance insights breaking behavior after a 9.40-> 9.45 upgrade · Issue #17487 · getsentry/sentry-javascript · GitHub
Open Graph Title: Frontend performance insights breaking behavior after a 9.40-> 9.45 upgrade · Issue #17487 · getsentry/sentry-javascript
X Title: Frontend performance insights breaking behavior after a 9.40-> 9.45 upgrade · Issue #17487 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/17487
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Frontend performance insights breaking behavior after a 9.40-> 9.45 upgrade","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/astro\n\n### SDK Version\n\n9.46.0\n\n### Framework Version\n\nAstro 5.13.3\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n```\n// sentry.server.config.ts\n\nimport * as Sentry from \"@sentry/astro\";\nimport { nodeProfilingIntegration } from \"@sentry/profiling-node\";\n\nif (import.meta.env.PUBLIC_IS_SENTRY_ENABLED === \"1\") {\n Sentry.init({\n dsn: import.meta.env.PUBLIC_SENTRY_DSN,\n environment: import.meta.env.PUBLIC_APP_ENV,\n ignoreTransactions: [\"https://api.storyblok.com\"],\n\n integrations: [\n // Add our Profiling integration\n nodeProfilingIntegration(),\n ],\n\n // Set sampling rate for profiling\n // This is relative to tracesSampleRate\n profilesSampleRate: 1.0,\n // Define how likely traces are sampled. Adjust this value in production,\n // or use tracesSampler for greater control.\n tracesSampleRate: 0.15,\n });\n\n Sentry.setTag(\"execution_context\", \"server\");\n}\n```\n```\n// sentry.client.config.ts\n\nimport * as Sentry from \"@sentry/astro\";\n\nimport websiteConfig from \"./src/config/websiteConfig\";\n\nif (import.meta.env.PUBLIC_IS_SENTRY_ENABLED === \"1\") {\n Sentry.init({\n dsn: import.meta.env.PUBLIC_SENTRY_DSN,\n environment: import.meta.env.PUBLIC_APP_ENV,\n ignoreErrors: [\n // caused by top-level await, unsupported by Chrome \u003c88, triggered most often by job scrapers\n \"Unexpected reserved word\",\n \"await is a reserved identifier\",\n ],\n integrations: [\n Sentry.extraErrorDataIntegration(),\n // note that this plugin doesn't work as expected for errors sent from the dev server\n // because the dev server doesn't apply the necessary 'application key' to frames\n Sentry.thirdPartyErrorFilterIntegration({\n behaviour: \"apply-tag-if-exclusively-contains-third-party-frames\",\n filterKeys: [websiteConfig.SENTRY.APPLICATION_KEY],\n }),\n ],\n\n // Define how likely traces are sampled. Adjust this value in production,\n // or use tracesSampler for greater control.\n tracesSampleRate: 0.15,\n });\n\n Sentry.setTag(\"execution_context\", \"client\");\n}\n```\n\n### Steps to Reproduce\n\nRoughly 2 weeks ago, we have updated the `@sentry/astro` package in our project from v9.40.0 to v.9.45.0. We didn't do any other changes - it was a simple dependabot PR.\n\n### Expected Result\n\nWe expected this upgrade not to have any visible changes for us. We read the changelog and the only change in versions from 9.41 to 9.45 that was marked as \"important\" was:\n\n> Important Changes\n> feat(v9/core): Deprecate experimental enableLogs and beforeSendLog option (https://github.com/getsentry/sentry-javascript/pull/17092)\n\nWhich didn't apply to our project, so we expected there to be no breaking changes.\n\n### Actual Result\n\nWhat actually happened, which we only noticed today, is that our frontend performance metrics changed completely. Instead of being reported by exact page path (e.g. `/page-a`, `/page-b`) and so on, they're all now all reported under a single catch-all page `/[...slug]`. This makes them unusable for us.\n\nHere's an explanation why that's bad for us:\n\nWe're using a headless CMS to create content for our Astro website. We have a single Astro page file `/[...slug].astro` which reads the page slug and fetches dynamic content from the CMS. We (the development team) have no control over which page contains what content. It could be any of our 100+ components that are available in our CMS to be inserted in any page. We also have no control over which page slugs exist - a big team of content editors creates and deletes those as they please.\n\nOn `/page-a`, the editors might have inserted ComponentA, ComponentB, and ComponentC. On page `/page-b`, they might have inserted ComponentX. ComponentX might be causing a bad layout shift. This will only affect `/page-b` and not `/page-a`. If all of our core web vitals are reported together under a single `/[...slug]` path, then we have no chance of finding out which exact page is having performance issues.","author":{"url":"https://github.com/angelikatyborska","@type":"Person","name":"angelikatyborska"},"datePublished":"2025-08-29T15:02:19Z","url":"https://github.com/getsentry/sentry-javascript/issues/17487"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f4edcf1-045d-5cac-70ce-75f72c2e012a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 981A:FD77C:33E3E61:4435EDE:6B058362 |
| html-safe-nonce | 28709c5777a2f7ce874097692cb3186c9ef7ab2fdbe1fb27fdfd0bd7a83806ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODFBOkZENzdDOjMzRTNFNjE6NDQzNUVERTo2QjA1ODM2MiIsInZpc2l0b3JfaWQiOiI3MDA5ODE1NzU2MjI5OTM1OTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8300ab7d26f49a9571531db22c17d0c0669f1e89fcaed1ded3b80c52eeb171f7 |
| hovercard-subject-tag | issue:3367189010 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/17487/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b5af416b4a8c10559563108da2af3f6c1580c8873b9f50386553efaab4575f06/getsentry/sentry-javascript/issues/17487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b5af416b4a8c10559563108da2af3f6c1580c8873b9f50386553efaab4575f06/getsentry/sentry-javascript/issues/17487 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | angelikatyborska |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width