---
title: "The Sentry Workflow — Triage"
description: "Errors suck. And you don’t want to spend your time fixing or investigating them. In our Workflow series, we’ll help you optimize your workflow, from crash to resolution."
url: "https://blog.sentry.io/sentry-workflow-triage/"
canonical_url: "https://blog.sentry.io/sentry-workflow-triage/"
authors: ["Neil Manvar"]
published: "2019-02-07"
category: "Product Updates"
---

# The Sentry Workflow — Triage

_We get it — errors suck. And you don’t want to spend too much of your time fixing them, dealing with them, investigating them, etc. In our Workflow blog post series, we’ll help you optimize your, well, workflow, from crash to resolution._

To quote “the second-most frequently quoted writer in The Oxford Dictionary of Quotations after Shakespeare,” [Alexander Pope](https://en.wikipedia.org/wiki/Alexander_Pope#cite_ref-1), “to err is human.” There will always be errors, even in code written by the best developers.

So, instead of trying to get rid of errors altogether, perhaps the better approach is to minimize the impact of errors on the development process. By creating infrastructure and culture equipped to handle unanticipated issues, developers can (ideally) gain visibility into their code and maintain workflow momentum.

As we mentioned in the [first post in this series](https://blog.sentry.io/sentry-workflow-alert/), merging Sentry into your existing workflow — specifically the alert, triage, and resolution phases — provides the insight to work at your highest efficiency and increase accountability throughout your application lifecycle.

![Sentry workflow diagram showing Install, Alert, Triage, Assign, Resolve, and Deploy stages](https://blog.sentry.io/_vercel/image?url=_astro%2Fshared-11.k1-mibRi.png&w=2048&q=100)

Alerts seamlessly transition you into the triaging phase (the focus of this post) by including a link to the Issue. We’ll wrap up the _Workflow_ series next time with tips on tidy resolutions.

## Triage

You’ve been alerted to an error — now what?

From here, the triage process includes finding the _who_, _what_, _where_, _when_, _why_, and _how_ of the error. Check out the [context](https://docs.sentry.io/platforms/javascript/configuration/apis/) and stack trace to gather useful insights, like the scope and impact, and aggregate data, like the number of events and trends over the last 24 hours.

![Sentry issue context and stack trace](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-0.CW3fdap-.png&w=1920&q=100)

_Tags_ [Tags](https://docs.sentry.io/platforms/javascript/configuration/apis/?platform=browser#tagging-events) help you understand _where_ your errors are coming from and _who/what_ they are affecting by introducing a new level of issue impact specificity, including browsers, devices, [environments](https://docs.sentry.io/concepts/key-terms/environments/), or [releases](https://docs.sentry.io/product/releases/). The tag heat map is also useful in surfacing patterns in data.

![Sentry tag heat map](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-1.C88FLsqS.png&w=640&q=100)

Looking at the heat map above, we can tell that the issue is happening in the production environment with people who use Chrome and Mac OS X. The issue has been in our code for the last few releases (which is highlighted). We can also make the assumption that the error is happening on a feature included specifically in our medium plan.

_Breadcrumbs_ Look at [Breadcrumbs](https://docs.sentry.io/platforms/javascript/enriching-events/breadcrumbs/) for a better understanding of the _how_ by uncovering a trail of events that happened in the application before the issue. Not seeing exactly what you need? [Customize your Breadcrumbs](https://docs.sentry.io/platforms/javascript/enriching-events/breadcrumbs/?platform=node#breadcrumb-customization), or disable them completely.

![Sentry breadcrumbs](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-2.H1VL2cfZ.png&w=1920&q=100)

Now you have a few decisions to make. Is the error critical? If so, is it something that should be addressed now? Or can it wait?

### Critical errors

If the issue is critical, you’ll want to get it into the hands of the right person immediately.

_Suspect commits and suggested assignees_

Sentry’s [integrations with source code management platforms](https://docs.sentry.io/product/releases/?platform=browser#alternatively-without-a-repository-integration), like GitHub, Azure DevOps, Bitbucket, and GitLab, expose the _when_ by signaling commits that likely introduced the error and [suggesting a specific assignee](https://docs.sentry.io/product/releases/#suggested-owners) who can most readily fix the problem.

![Sentry suspect commit suggested assignee](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-3.UzAvcwyN.png&w=1200&q=100)

### Minor errors

Sometimes errors occur that you could work on, but you would rather save them for later. Maybe you don’t have the time, or perhaps the error is only happening to the ten people who use a very outdated browser. You’ll fix it eventually, but not right now.

Ignore these errors conditionally (read: snooze them), and the error will re-enter your workflow and surface when it’s actually impactful.

![Sentry ignore error](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-4.C5o5j3vd.png&w=2048&q=100)

With the _Ignore_ dropdown options, you can ignore for a certain period, like an hour. You can also ignore the issue until it happens with conditions, like 1000 times or to 100 users.

### Irrelevant errors

Not all errors are worth your time or the space in your Issues stream. These errors probably don’t have to do with your code, and there is nothing you can do about them.

Hopefully, you won’t see this error again. However, if there is an irrelevant issue that continues to occur, you can [delete and discard](https://docs.sentry.io/pricing/quotas/#filter-by-issue) it from the issue details page by clicking “delete and discard future events.” This will delete the issue and event data from Sentry and filter out matching events before they ever reach your stream.

![Sentry delete and discard](https://blog.sentry.io/_vercel/image?url=_astro%2Finline-5.B-ToQfYn.png&w=1200&q=100)

* * *

By providing context that helps you answer the _who_, _what_, _where_, _when_, _why_, and _how_ of the error as well as features that organize your Issues stream, Sentry efficiently streamlines your triaging process.

To learn more about how to triage effectively with Sentry, and the features that are there to help you do so, check out [this blog post](https://blog.sentry.io/introducing-sentry-9/) about some recent updates.
