Sentry
Sentry collects reports of application errors and groups similar failures. It helps developers see where an error occurred, how often it happens, and which versions are affected.
Also known as: error tracking, трекинг ошибок
What Sentry does
When a mobile app crashes on a customer's phone, the developer usually can't inspect that device. Sentry gives the team somewhere to look: it collects error reports from running applications and groups similar reports so the team can investigate recurring failures. This workflow is called error tracking.
From exception to issue
The application integrates a Sentry SDK and configures it with a DSN, which tells the SDK where to send reports for the project. Depending on the framework and enabled integrations, the SDK can report unhandled exceptions automatically. Code can also report an exception explicitly when it catches the error and continues running, for example when a background sync fails but the rest of the app still works.
Each report is an event. It can include a stack trace, an environment such as production, a release identifier, and breadcrumbs: short records of activity leading up to the failure. Sentry groups similar events into an issue, using information such as stack frames. An alert can point the team to the issue rather than making someone read every report. Grouping is a starting point for investigation, not proof that every event in the issue has the same root cause.
Example: a crash in a new app version
An alert reports a crash on the order history screen. Most events come from version 4.8.0, and the stack trace points to code that formats a delivery date. Breadcrumbs show that the screen opened just before the crash. The developer compares behavior across versions and tests an order with no delivery date. The report narrows down what to test; it does not establish whether the API omitted a field or the client mishandled a valid response. In a browser app with minified JavaScript, the same investigation may depend on source maps that match the deployed build.
Where it fits and what to watch for
Teams use Sentry on web frontends, backend services, and mobile apps. Its error reports answer “What failed here?” while logs can show what happened in other services and metrics can show how widespread the impact is. For example, 500 captured events do not necessarily mean 500 affected users: one retry loop can generate many events. Keep test and production events distinguishable, alert on meaningful changes rather than every repeat, and strip credentials and unnecessary personal data before events leave the application.
How it comes up in interviews
You might be asked how you'd investigate an error spike after a deployment. Start by filtering to production and comparing the timing and frequency across releases. Use the stack trace to pick a code path to investigate, then check logs or reproduce the failure before blaming the deploy. If the release also raised traffic, look at the failure rate alongside the raw count.