~/talk

The Journey of Building the Sentry Nuxt SDK

Talkat Nuxt Nation 2024 · 2024-11-12..11-13· [nodejs, web-performance]
slides:none on file

Sentry ships a new Nuxt module that implements client, server and build-time configs separately, targets Nuxt 3/Nitro/H3, and integrates source‑map upload and runtime init via a generated plugin. The main engineering problem is OpenTelemetry’s lack of CJS-style monkey‑patching for ESM, solved with a loader‑hook approach and a rollup plugin that rewrites output to call init before a dynamic import, enabling backend traces. SDK supports ~30 JS SDKs and is currently beta.

AI-written summary · about

  1. 0:00Building Sentry Nuxt SDK
  2. 1:05Sentry’s JS SDK ecosystem
  3. 2:31Requirements for Nuxt SDK
  4. 3:57Server and client settings
  5. 5:20Client-side monitoring in Nuxt
  6. 6:45Server-side monitoring challenges
  7. 7:27OpenTelemetry and monkey patching
  8. 9:14JavaScript module loading
  9. 10:41ESM module loading limits
  10. 12:31Solving ESM limits with loader hooks
  11. 13:58Improving developer experience with dynamic imports
  12. 15:04SDK current state and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.