Skip to content

test(e2e): Add ESM http instrumentation test#12379

Merged
Lms24 merged 2 commits intodevelopfrom
lms/test-node-express-esm-http-instrumentation
Jun 7, 2024
Merged

test(e2e): Add ESM http instrumentation test#12379
Lms24 merged 2 commits intodevelopfrom
lms/test-node-express-esm-http-instrumentation

Conversation

@Lms24
Copy link
Copy Markdown
Member

@Lms24 Lms24 commented Jun 6, 2024

Just a quick by-product of working on the ESM lambda layer: This PR adds a test to our ESM Express e2e test app to test that http instrumentation is working correctly by ensuring a http.client span is captured.

@Lms24 Lms24 requested a review from mydea June 6, 2024 09:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 6, 2024

size-limit report 📦

Path Size
@sentry/browser 22 KB (0%)
@sentry/browser (incl. Tracing) 33.19 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay) 68.8 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.09 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 72.85 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) 85 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 86.83 KB (-0.01% 🔽)
@sentry/browser (incl. metrics) 26.19 KB (0%)
@sentry/browser (incl. Feedback) 38.17 KB (0%)
@sentry/browser (incl. sendFeedback) 26.59 KB (0%)
@sentry/browser (incl. FeedbackAsync) 31.15 KB (0%)
@sentry/react 24.77 KB (0%)
@sentry/react (incl. Tracing) 36.24 KB (0%)
@sentry/vue 26.01 KB (+0.01% 🔺)
@sentry/vue (incl. Tracing) 35.03 KB (0%)
@sentry/svelte 22.14 KB (+0.01% 🔺)
CDN Bundle 23.36 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing) 34.87 KB (0%)
CDN Bundle (incl. Tracing, Replay) 68.84 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) 73.99 KB (0%)
CDN Bundle - uncompressed 68.63 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 103.22 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 213.14 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 225.61 KB (0%)
@sentry/nextjs (client) 35.59 KB (-0.01% 🔽)
@sentry/sveltekit (client) 33.83 KB (-0.01% 🔽)
@sentry/node 129.8 KB (0%)
@sentry/node - without tracing 92.55 KB (0%)
@sentry/aws-serverless 117.61 KB (0%)

Copy link
Copy Markdown
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some small comments, but overall looks nice!

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
@Lms24
Copy link
Copy Markdown
Member Author

Lms24 commented Jun 7, 2024

oof sorry for the stupid leftovers, I just extracted this out from the layer mess and should have given it a better check before PRing

@Lms24 Lms24 enabled auto-merge (squash) June 7, 2024 08:32
@Lms24 Lms24 merged commit 273e5e4 into develop Jun 7, 2024
@Lms24 Lms24 deleted the lms/test-node-express-esm-http-instrumentation branch June 7, 2024 08:47
billyvg pushed a commit that referenced this pull request Jun 10, 2024
add a test to our ESM Express e2e test app to test that http instrumentation
is working correctly by ensuring a `http.client` span is captured.

---------

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
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