Migrate Sentry -> Epure in 10 min
Description and use
Switch an app from Sentry SaaS to self‑hosted Epure in 10 minutes: change only the DSN, disable non‑exception features, and verify with a test error.
Problem
Switch a production app from Sentry SaaS to self‑hosted Epure without rewriting SDK code.
Outcome
A single DSN swap and a test error confirm successful migration to Epure within ten minutes of wall clock time.
Workflow
- Verify Epure host health via /health
- Create or copy project DSN from Epure dashboard
- Replace only the dsn field in Sentry.init
- Set tracesSampleRate, profilesSampleRate, replaysSessionSampleRate, replaysOnErrorSampleRate to 0
- Throw a test exception with Sentry.captureException
- Flush the SDK if running in a short‑lived worker
- Confirm HTTP 202 response and check Issues page for the new issue
Evidence
Keep the official Sentry SDK. Change only dsn to your Epure project.
Set traces, profiles, and replay sample rates to 0. Epure is exception-only.
Throw one test error, expect ingest HTTP 202, then an Issues row.
Copy the project DSN, replace only dsn, zero unused rates, throw once, confirm Issues.
- Record date: 2026-10-01T14:41:07.541Z