Build breadcrumbs, PII scrubbing, fingerprinting, batching, and sampling into a telemetry SDK, plus an issues dashboard.
What you'll build
A working telemetry SDK plus a dashboard that groups errors into issues and shows metrics by release.
Error-tracking and RUM products (Sentry, Datadog, New Relic) all ship a browser SDK with the same core design. You'll build a small one to understand the decisions inside it:
init({ release, transport, sampleRate }) plus plugins for breadcrumbs and errors.Most steps are plain JavaScript that runs in the console. SDKs must not depend on any UI framework.
Design constraint: an SDK runs on every page load of someone else's app. It must be small, fast, and never throw. A bug in telemetry code must never break the product.