Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hapi): Update scope transactionName when handling request #11448

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 5, 2024

This PR updates the scope's transactionName in our Hapi error handler. Conveniently, we can access the parameterized route within our Hapi plugin, meaning we're not constrained by reading route info from a potential non-recording span.

ref #10846

@Lms24 Lms24 changed the base branch from develop to lms/feat-node-update-scope-transactionName April 5, 2024 12:53
@Lms24 Lms24 self-assigned this Apr 5, 2024
Base automatically changed from lms/feat-node-update-scope-transactionName to develop April 8, 2024 11:12
@Lms24 Lms24 force-pushed the lms/feat-hapi-update-scope-transactionName branch from 838c063 to 1d001ed Compare April 8, 2024 11:14
@Lms24 Lms24 requested review from mydea and AbhiPrasad April 8, 2024 11:14
@Lms24 Lms24 marked this pull request as ready for review April 8, 2024 11:16
Copy link
Contributor

github-actions bot commented Apr 8, 2024

size-limit report 📦

Path Size
@sentry/browser 22.07 KB (0%)
@sentry/browser (incl. Tracing) 31.69 KB (0%)
@sentry/browser (incl. Tracing, Replay) 66.89 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.49 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 70.72 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 75.65 KB (0%)
@sentry/browser (incl. Feedback) 30.84 KB (0%)
@sentry/browser (incl. Feedback, Feedback Modal) 30.86 KB (0%)
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 30.87 KB (0%)
@sentry/browser (incl. sendFeedback) 26.86 KB (0%)
@sentry/react 24.75 KB (0%)
@sentry/react (incl. Tracing) 34.59 KB (0%)
@sentry/vue 25.5 KB (0%)
@sentry/vue (incl. Tracing) 33.42 KB (0%)
@sentry/svelte 22.2 KB (0%)
CDN Bundle 24.08 KB (0%)
CDN Bundle (incl. Tracing) 32.63 KB (0%)
CDN Bundle (incl. Tracing, Replay) 66.34 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 71.6 KB (0%)
CDN Bundle - uncompressed 71.62 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 97.67 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.06 KB (0%)
@sentry/nextjs (client) 33.78 KB (0%)
@sentry/sveltekit (client) 32.21 KB (0%)
@sentry/node 120.03 KB (0%)

@Lms24 Lms24 force-pushed the lms/feat-hapi-update-scope-transactionName branch from d7e536e to ba02f1b Compare April 9, 2024 13:48
@Lms24 Lms24 enabled auto-merge (squash) April 9, 2024 15:03
@Lms24 Lms24 merged commit 1067868 into develop Apr 9, 2024
78 checks passed
@Lms24 Lms24 deleted the lms/feat-hapi-update-scope-transactionName branch April 9, 2024 15:13
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
…sentry#11448)

This PR updates the scope's `transactionName` in our Hapi error handler.
Conveniently, we can access the parameterized route within our Hapi
plugin, meaning we're not constrained by reading route info from a
potential non-recording span.
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