~/talk

Tracing Slowdown: OpenTelemetry In SvelteKit Made Easy

Talkat Svelte Summit Spring 2025 · 2025-05-08..05-09· [observability]
links:none on file
slides:none on file

Shows how to add OpenTelemetry to a SvelteKit app end to end: installs core, web and Node SDKs, registers an OTLP exporter, and instruments the client via hooks.client.ts and the server via the Node SDK plus the import-in-the-middle hook (requires the d-imp import flag). Traces send to Jaeger; a captured request takes 8.5s and reveals repeated SQL calls—an N+1 queries bug. Proposes two SvelteKit fixes: a dedicated instrumentation.server.ts and emitting diagnostic messages; a proof‑of‑concept PR exists.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:48Performance issue with task tracker
  3. 2:28Tracing primer and OpenTelemetry
  4. 7:04Adding OpenTelemetry to SvelteKit
  5. 11:19Analyzing traces in Jaeger
  6. 15:13ESM instrumentation challenges
  7. 20:31Proposals for SvelteKit improvements
  8. 23:40Recap and future outlook
  9. 24:41Closing and giveaway
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.