sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

feat(nestjs): Automatic instrumentation of nestjs interceptors after route execution

Open nicohrubec opened this issue 1 year ago • 1 comments

Adding a span 'Interceptor - After Span' to improve instrumentation for operations happening after the route execution is done. Tracking what happens in individual interceptors after the route is hard, so currently we create one span to trace everything that happens after the route is executed.

Current screenshot from spotlight: Screenshot 2024-08-14 at 15 41 30

nicohrubec avatar Aug 07 '24 13:08 nicohrubec

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.52 KB - -
@sentry/browser (incl. Tracing) 34.85 KB - -
@sentry/browser (incl. Tracing, Replay) 71.21 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 64.48 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 75.57 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 88.29 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.13 KB - -
@sentry/browser (incl. metrics) 26.83 KB - -
@sentry/browser (incl. Feedback) 39.59 KB - -
@sentry/browser (incl. sendFeedback) 27.18 KB - -
@sentry/browser (incl. FeedbackAsync) 31.9 KB - -
@sentry/react 25.28 KB - -
@sentry/react (incl. Tracing) 37.83 KB - -
@sentry/vue 26.66 KB - -
@sentry/vue (incl. Tracing) 36.68 KB - -
@sentry/svelte 22.65 KB - -
CDN Bundle 23.77 KB - -
CDN Bundle (incl. Tracing) 36.53 KB - -
CDN Bundle (incl. Tracing, Replay) 70.86 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 76.17 KB - -
CDN Bundle - uncompressed 69.61 KB - -
CDN Bundle (incl. Tracing) - uncompressed 108.28 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 219.66 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.85 KB - -
@sentry/nextjs (client) 37.6 KB - -
@sentry/sveltekit (client) 35.44 KB - -
@sentry/node 115.91 KB +0.23% +263 B 🔺
@sentry/node - without tracing 90.01 KB +0.01% +1 B 🔺
@sentry/aws-serverless 99.45 KB - -

View base workflow run

github-actions[bot] avatar Aug 07 '24 14:08 github-actions[bot]