DEV Community

SnapTrace
SnapTrace

Posted on

Why are we still importing 150KB to catch a frontend error?

Quick question for frontend engineers:

Why does an error tracking SDK need to weigh 150KB minified?

At what point did monitoring our code require more JavaScript than the actual features we're shipping to users?

I got fed up with heavy APM bundles hurting Google Core Web Vitals (INP), so I built a sub-5KB listener that fires asynchronously using navigator.sendBeacon with 0ms main-thread delay.

Live sandbox to test payloads and client-side regex masking (no signup):

👉 https://snaptrace-dashboard.vercel.app/test

What is your current bundle limit for third-party telemetry?

Top comments (0)