PORTFOLIO
Back to writing

Testing

Instrumenting Production Apps: Mixpanel, Sentry, and Cypress in Practice

April 15th, 20262 min read

There is a specific kind of confidence that comes from a deploy you do not have to babysit. I lean on the same three-layer setup across the production apps I work on: Mixpanel for product analytics, Sentry for error tracking, and Cypress for end-to-end coverage of the paths that actually matter.

Mixpanel answers whether people are actually using a feature, not page views, but the events tied to it: did they start the flow, did they finish it, where did they drop. Sentry answers whether something broke, a frontend exception or a 500 in the API shows up with a stack trace and user context before anyone files a support ticket. Cypress answers whether it will still work after the next change, for the handful of flows where a silent regression is expensive: checkout, onboarding, auth.

None of these replace good judgment, and none of them are worth setting up for every flow in an app. The leverage comes from picking the few paths where a break is costly, instrumenting those well, and trusting the rest to normal code review and manual QA.