Skip to content

Fix Sentry performance metrics grouping for catch-all routes#16698

Merged
corwintines merged 1 commit into
devfrom
sentry-normalize-dynamic-paths
Dec 1, 2025
Merged

Fix Sentry performance metrics grouping for catch-all routes#16698
corwintines merged 1 commit into
devfrom
sentry-normalize-dynamic-paths

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Description

Problem: Sentry groups all pages under catch-all routes (e.g., /:locale/:slug*) into a single transaction, making it impossible to compare performance between individual pages.

Solution: Add beforeSendTransaction hook that replaces parameterized route names with the actual URL path (locale-normalized), enabling per-page performance analysis.

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 26, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit f5df4e3
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6926deda2e565b0008ab3822
😎 Deploy Preview https://deploy-preview-16698--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 41 (🔴 down 18 from production)
Accessibility: 94 (no change from production)
Best Practices: 92 (🔴 down 7 from production)
SEO: 91 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@corwintines corwintines self-assigned this Nov 30, 2025
@corwintines corwintines merged commit 5ff6062 into dev Dec 1, 2025
6 checks passed
@corwintines corwintines deleted the sentry-normalize-dynamic-paths branch December 1, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants