byteNative
Testing & Quality

Sentry

Realtime error tracking and performance monitoring in production.

What is Sentry?

Sentry reports errors and performance issues in realtime, complete with context right down to the affected line of code. Via source maps you get readable stack traces even in minified production code, and identical errors are grouped into one issue instead of flooding you with a thousand separate alerts. Breadcrumbs show you what the user did right before the crash. So you often learn about trouble before anyone even notices, and can respond precisely instead of feeling your way in the dark.

More in the documentation

How we use it

Into every application that ships to production we wire Sentry, so errors do not quietly die in individual users' browsers. With releases and source maps you instantly see which deploy introduced a new crash and can pin it down instead of guessing. That cuts the time from something is breaking to we know exactly where dramatically.

ts
import * as Sentry from "@sentry/react";

Sentry.init({
  dsn: process.env.SENTRY_DSN,
  environment: process.env.NODE_ENV,
  release: process.env.APP_RELEASE,
  tracesSampleRate: 0.1,
});
Init with throttled performance sampling.

Good to know

Without uploaded source maps your production traces are minified and barely readable, so uploading them in the build step is not a nice-to-have. For noisy apps set a tracesSampleRate below one, otherwise you fill your performance quota, and your budget, faster than necessary.

00Testing & Quality

More tools we work with in the same area.

Which technology fits you?

You don't have to decide that, it's our job. Tell us about your plans.