William

William Β· Talent Sourcing Expert Β· November 29, 2026

How to Set Up Error Monitoring with Sentry in 6 Steps

Cover image reading Error monitoring with Sentry next to a screenshot of the Sentry issues list showing unresolved errors with event and user counts

Key takeaways

  • β†’Setting up is one wizard and one snippet: pick the framework, choose an alert frequency, name the project and its team, then paste the generated initialization call where your app starts. Errors and performance events flow in on their own after that.
  • β†’Sentry groups similar events into issues by fingerprinting, so thousands of events become a short list you can filter by browser, device, impacted users or whether the error was unhandled.
  • β†’An issue page carries the 24-hour and 30-day counts, first and last seen per release, the tags, the stack trace down to the line, and, with the GitHub integration, the commit that probably caused it.
  • β†’Alert rules push new or persistent problems to email, Slack, Teams or a webhook, so nobody has to sit and watch a dashboard for something to go red.
  • β†’The same data feeds performance monitoring, release health and dashboards: throughput and latency per transaction, adoption and crash-free rate per version, and widgets that all follow one toolbar.

Most teams first learn about a production bug through a customer email: something failed, on a Tuesday, on a phone, and nobody can reconstruct more than that. Your developer asks what the user was doing, in which browser, on which release. The honest answer is that no one wrote it down, so the afternoon is spent guessing rather than fixing.

Error monitoring closes that gap by having the application report its own failures. Whenever something breaks, the app sends an event that carries the stack trace, the browser, the operating system, the release number and anything else you choose to attach. This guide uses Sentry throughout. Installing it takes genuinely little work: a wizard, a snippet, and events begin to arrive.

Below is the full path in six steps, from creating a project to the views a small team opens each week. Setup is the short part. The part worth reading twice is how to read an issue once it appears, since that is the point where a founder stops forwarding customer complaints and starts giving a developer something they can act on.

Step 1: create the project and paste in the initialization snippet

In Sentry, a project is the bucket that collects events from a single application. Create the organization first. Then open Create Project and go through the three blocks the wizard shows you.

  1. Pick the platform. The grid covers dozens of frameworks: Next.js, React, Vue, Node.js, Express, PHP, Laravel, Python, Django, FastAPI, Flask, React Native, Ruby, Rails and Unity are all on this screen, with Android, iOS, .NET, Flutter, Go, Java and Spring Boot in the row above. The choice decides which snippet you get at the end, so pick the framework the app is actually written in rather than the language.
  2. Set the alert frequency. There are three options: a notification for every new issue, a threshold rule (more than a set number of occurrences of a unique error within one minute), or nothing for now if you prefer to write your own rules later. On a first project, every new issue is the honest setting. You will have few enough to read them all, and you can tighten it the week it turns into noise.
  3. Name it and assign a team. The name appears afterwards in every issue, every alert and every dashboard filter, so choose something a non-developer can read. Behind these screenshots, the demo organization runs one project per surface, with names like frontend-javascript, backend-express and mobile-android. That is why its issue list can be filtered per surface in a single click.

Hit Create Project and Sentry generates an initialization call for the framework you picked. Copy it into the place your application starts up, deploy, and that is the whole installation. From then on errors and performance events arrive on their own, without anyone instrumenting individual functions.

Sentry Create Project wizard showing a grid of framework logos with React selected, a section headed Set your alert frequency with the option Alert me on every new issue selected, and a Name your project block with a project name field and a team selector
The whole setup in one screen: framework, alert frequency, project name and owning team.

Step 2: let fingerprinting turn raw events into a short list of issues

A live application sends a large number of events, and a raw event feed is unreadable by design. Using fingerprinting, Sentry groups similar events into issues, so one crash hitting ten thousand users shows up as a single line rather than ten thousand. That grouping is what makes the tool usable for someone who will not spend the day inside it.

The Issues page is the daily view. Across the top are the states an issue can be in (unresolved, for review, new, escalating, ongoing and archived), each with its own count. Below, filters narrow the list by project, environment, date range and category, and the search box takes queries such as is:unresolved. Filtering by properties of the events themselves also works, including browser, device, number of impacted users and whether the error was unhandled.

Read the right-hand columns before the titles. Every row has a frequency graph over the last 24 hours or 14 days, an event count, a user count and an assignee. Priority comes from the combination. On this screen one issue shows 75,000 events but 4 affected users, which smells like a background job retrying; another shows 52,000 events across 16,000 users, a problem your customers are living through right now. The other thing to look for is the unhandled badge, since an unhandled error is one the code never anticipated.

Sentry Issues page listing unresolved issues such as Invalid Email Format, an N plus 1 API call and a SyntaxError, each row showing a frequency graph, an event count, a user count and an assignee avatar
Two hundred and thirty-eight unresolved issues, ranked by what you can see: events, affected users, and whether the error was unhandled.

Step 3: read one issue end to end before you assign it

When you open an issue you get the details of its latest event, and nearly everything a developer would otherwise ask you for is already on the page.

  • Statistics. How often the issue occurred over the last 24 hours and the last 30 days, plus when it was first seen and last seen, each tied to a release number. A problem first seen in the release you shipped yesterday calls for a different conversation than one that has run quietly for a month.
  • Suspect commit. Once the GitHub integration is connected, Sentry surfaces the commit it believes introduced the issue, along with its author and date. That is usually the quickest route from an error to the person who already holds the context. It pairs well with a habit of reviewing pull requests properly.
  • Tags. Browser, operating system, environment, release, transaction, URL and user, plus any custom tag you attach, for example a customer type or a backend type. Tags work across the whole product. That is what makes them worth setting up early.
  • Stack trace. The exact file and line where the event errored, linked to the same line in GitHub. With coverage reporting switched on, the trace can also display line-by-line test coverage beside the failing code.
  • Session replay and breadcrumbs. On web projects, replay plays the user session back like a recording, covering what happened before, during and after the error. Breadcrumbs are the timeline of what the application did in the lead-up to the event, and you can customize them fully.

The right-hand rail is where the issue exits Sentry: an assignee, and links that turn the error into a GitHub issue or a Jira ticket. Assignment can be automated too. That matters when the person who should see an error is on a different continent from the person who noticed it.

Sentry issue details page showing a suspect commit with its author, a block of tags including browser Firefox, environment production and release 23.5.4, the start of a stack trace pointing at Checkout.js line 42, and a sidebar with 24-hour and 30-day event counts and issue tracking links
One page: who probably broke it, on what browser and release, at which line, and how often it has happened since.

Step 4: follow a single request across the front end and the back end

If you instrument both sides of the stack, the issue page gains a trace navigator linking the browser event and the server event that belong to the same user action. Opening the full trace gives you the distributed view: how many transactions and issues it holds, how many projects it crossed, and the total duration.

The useful part is the waterfall underneath. Here, a checkout submission from the front end runs 225 milliseconds, the server-side controller that handles it runs 33 milliseconds, and the whole trace lasts just over a second, with error markers on specific rows. That picture settles the argument that eats half a day on every split team: the frontend contractor and the backend contractor each explaining why it is the other one's problem.

Correlated errors are attached to the trace as well, so a failure that shows up in two projects at once is visibly one failure rather than two tickets filed by two people.

Sentry trace view showing a trace ID, an event breakdown of two transactions and two issues across two projects with a total duration of 1.03 seconds, and a waterfall with a Submit Checkout Form transaction above a server-side checkout controller span
One checkout, two projects, one timeline. The error markers show which side of the handoff failed.

Step 5: write alert rules so nobody has to watch a dashboard

A monitoring tool that relies on someone remembering to open it will fail the week everyone is busy. Alerts fix that. They notify you of new or persistent issues in real time by email, Slack message or Teams message, and when you want the event to land in your own tooling, they can push to downstream systems through a webhook.

The alert rules page lists each rule with the condition that fires it and its current state. Error-rate rules trigger above a count; performance rules trigger above a duration. A rule that has recovered shows as resolved, with the time it cleared. Read that list from top to bottom and you learn what the team currently treats as an emergency, a surprisingly good health check on a codebase you did not write.

Two habits keep the list honest. Give every rule a project and a team, because an alert nobody owns gets muted by everybody. And write the threshold against what users feel rather than what is easy to measure: a rule that fires when page loads cross a latency ceiling will be respected, and a rule that fires on every blip will be filtered into a folder within two weeks.

Sentry alerts page listing alert rules with their trigger conditions, some marked triggered with an upward arrow above a threshold and others marked resolved with a downward arrow below a threshold, each row showing its project and team
Each rule states its threshold and whether it is currently firing or resolved.

Step 6: watch performance and release health, not only crashes

Those same events that produce issues also feed performance monitoring, which tracks dozens of metrics such as throughput and latency across web, mobile and backend applications. The Performance page is split by surface, with tabs for all transactions, web vitals, frontend, backend and mobile. It compares the current window against the previous one, so you can tell whether the last release made things slower.

Three moves get you from a chart to a cause:

  1. Use the trends view to surface transactions whose performance has shifted significantly over time, instead of reading every chart yourself.
  2. Open the transaction summary for anything that looks suspicious. It gathers graphs, instances of the event, stats, facet maps and related errors, along with a heat map of any custom tags attached to those events.
  3. Click through to one event from the transaction table and read its span waterfall. Sentry flags suspect spans and tags, meaning the places where that transaction actually spends most of its time.
Sentry Performance page on the Web Vitals tab showing a span operations breakdown chart for the products route, a worst LCP web vitals panel with good, meh and poor percentages, and tiles for p75 LCP, user misery and transactions per minute
Performance for one project and one environment, each tile compared against the previous fourteen days.

Release tracking is the other half of the same question. The releases page lists each version with its adoption, its crash-free rate, its crash count and the number of new issues it introduced, and the detail page for a single release adds crash and session trends, adoption graphs and a breakdown by commit author. That turns the vaguest question in software into a lookup: did what we shipped yesterday make anything worse? It is also the reason release tagging belongs in your deployment pipeline rather than in someone's memory.

Sentry releases page listing application versions with columns for adoption, crash free rate, crashes and new issues, with the most recent release highlighted showing 100 percent adoption and an 89 percent crash free rate
Per version: how many users are on it, how often it crashes, and what it broke.

Four details that decide whether the setup is worth anything

Installation takes an afternoon. What separates a tool the team uses from one that quietly collects events nobody reads is these four choices.

  • Attach your own tags from day one. Tags travel across the entire product, so anything you tag an event with is available later for queries, dashboards and tailored alerts. Tagging by customer tier, or by paying versus trial, is a five-minute change. Months later it lets you answer whether a bug is hitting the accounts that matter.
  • Customize the breadcrumbs. By default the timeline before an error is generic. Add the steps your product really takes, and the history becomes readable by someone who has never opened the codebase.
  • Connect the tracker you already use. Issues can be assigned automatically, and a GitHub issue or a Jira ticket can be opened straight from the issue page, so fixing something does not need a human to copy an error into a second system.
  • Build one dashboard, not five. Dashboards consist of widgets created in the dashboard view or saved out of Discover, and each widget in a view follows the project, environment and date range set in the toolbar. Zoom into a spike on any time series and the whole dashboard moves with you into that window. That is what keeps a weekly review to ten minutes.

Behind all of it sits Discover, a query builder over your atomic event data across environments. You can save custom queries and aggregations there and summarize data tied to your custom tags. It is what you reach for when a question is too specific for any existing page.

Sentry dashboard built from a general template, with number tiles, an events time series chart, a widget listing issues assigned to me or my teams, and a toolbar setting the project, environment, date range and release for every widget
One toolbar drives every widget in the view, including the time window you zoom into.

Check what stuck

6 questions on the brief you just read. Pick one answer per question.

  1. 1. What do you have to do after finishing the Create Project wizard?

  2. 2. Why does Sentry group events into issues?

  3. 3. Two issues have similar event counts. What separates an urgent one from a noisy one?

  4. 4. Which integration lets Sentry surface the suspect commit behind an issue?

  5. 5. What does the trace view add that a single issue page does not?

  6. 6. You zoom into a spike on one chart of a dashboard. What happens to the other widgets?

Score: 0 / 6

An afternoon to install, then one page to check

Create the project, paste the snippet, let fingerprinting reduce the noise, and read the first issue end to end before you forward anything to anyone. Add alert rules once you know what normal looks like, and keep one dashboard rather than five. From that point on, a production problem reaches you as a stack trace with a release number attached, instead of as a customer apologizing for bothering you.

Error monitoring answers what broke inside your application. It says nothing about whether the site is reachable at all, so pair it with uptime monitoring, which watches from the outside. If nobody on the team owns this layer yet, that is a specific hire: a DevOps engineer to wire the instrumentation into your pipeline, or an SRE if what you really need is someone who owns the alerts once they start firing.

Frequently asked questions

Do we still need error monitoring if we already have uptime checks?

Yes, because they answer different questions. An uptime check pings your site from outside and tells you it responded, which it will keep doing while a checkout form throws a 500 for every user on Firefox. Error monitoring runs inside the application and reports the failure itself, with the stack trace, the browser, the release and the user it happened to. Uptime tells you the lights are on; error monitoring tells you what is burning in the back room. Small teams usually want both, and they cost almost nothing to run side by side.

Who should own Sentry in a team of three or four developers?

One person should own the configuration and everybody should be able to read the issues. Ownership means deciding which alert rules exist, which projects and teams they belong to, and pruning rules that fire without anybody acting on them. The rest of the team only needs the habit of opening an issue before guessing, because the page already contains the release, the browser, the stack trace and usually the suspect commit. If no one wants the configuration job, that is a sign to hire for it rather than to let the rules rot.

What does a developer need from us to instrument an existing application?

Three things. The framework the application is built with, because that decides the initialization snippet Sentry generates. Access to where the application starts, so the snippet can be added and deployed. And a connection to your repository, since the GitHub integration is what makes suspect commits and the links from a stack trace to the exact line possible. A fourth thing is worth agreeing up front: the custom tags you want on every event, such as customer tier or environment, because those are hard to backfill later.

How do we stop alerts from becoming noise everybody ignores?

Start narrow, then widen. While creating the project you can alert on every new issue, which is reasonable as long as the volume is small; switch to a threshold, such as a number of occurrences of a unique error inside one minute, once the application has real traffic. Give each rule an owner. Write performance thresholds against what a user would notice rather than a round number, and delete any rule that has fired repeatedly without anyone changing code. An alert list nobody trusts is worse than having no alerts, because it teaches the team to dismiss the one that mattered.

Ready to hire?

Vetted talent ready for US teams. No recruitment fees. Zero risk.

πŸ‡ΊπŸ‡Έ Trusted by companies across the United States