• Log inStart now

On August 31, 2024, we're EOLing developer.newrelic.com. All relevant content has been migrated to docs.newrelic.com.

Triage your errors

5 min

lab

This procedure is part of a lab that teaches you how to manage errors using Errors Inbox.

Each procedure in the lab builds upon the last, so make sure you've set up Errors Inbox before starting this one.

Geek's Movie Shop is running in your development environment, and you're able to see its errors in Errors Inbox. Because you want to ensure a smooth experience for your customers, you need to analyze and triage these errors.

By triaging your errors, you reduce the noise in your inbox. This helps you focus on the errors that impact your application the most.

View error details

In Errors Inbox, you see all unresolved errors across your application by default. Sometimes you need to learn more about an error before you can decide what to do with it.

Step 1 of 2

Click the pika.exceptions:ChannelWrongStateError.

pika.exceptions:ChannelWrongStateError error

This takes you to its details page.

Error detail page

Here, you see the error's full context, including its stack trace and the number of times it occurred. The stack trace is especially important since it helps you narrow down the cause of the problem.

Step 2 of 2

In the bottom right corner of Stack Trace, click Show all.

Show full stack trace

The full trace tells you that something is wrong in your payment service.

full stack trace

If this were a real-world application, you could use this stack trace and other details from this view to fix the issue. However, in this lab you're focused on using Errors Inbox, so skip this step.

Tip

You can also integrate CodeStream with your Errors Inbox. This allows you to jump to the relevant code in your IDE with the click of a button.

Once you've configured CodeStream, click Open in IDE.

Code Stream Integration

Set an error's status

Each error in Errors Inbox is Unresolved by default. But if you fix a bug or decide it isn't worth fixing, you can change its status to reflect that.

Another developer on your team said they fixed this pika.exceptions:ChannelWrongStateError, so update its status to Resolved.

Step 1 of 3

In New Relic, navigate to Errors Inbox.

Errors Inbox

Step 2 of 3

On the error's row, click the status dropdown.

Channel wrong state error

You see two options in the dropdown:

  • Resolve
  • Ignore
Step 3 of 3

Select Resolve.

Set error status to resolve

When you resolve an error, it no longer appears on the main screen. However, if the error occurs again, Errors Inbox automatically unresolves it.

Tip

If you want to ignore an error instead of resolving it, you can do that here as well.

Ignore error

When you ignore an error, it no longer appears on the main screen. To see it again, either change the filter to include ignored error groups or stop ignoring the error.

Assign an error

Refresh the page. Oops! You resolved pika.exceptions:ChannelWrongStateError, but it's back in your Unresolved error groups.

Unresolved error groups

Apparently the bug wasn't fixed after all. You've decided to fix the error yourself.

Step 1 of 2

On the far right side of the error group, click the user icon.

Assign error

Step 2 of 2

Enter and submit your email address.

Assign error via email

This tells your team that you're responsible for resolving the error.

Tip

Currently, when you assign an error group to a user, they don't receive a notification. Notifications are coming soon.

You've triaged the pika.exceptions:ChannelWrongStateError. You can do the same for a few others as well. After ignoring, resolving, and assigning errors, your inbox is looking a lot cleaner than when you first saw it. Next, you filter your inbox and integrate it with other services so you can find, prioritize, and fix the errors that need fixing before you release your new app version to the world.

lab

This procedure is part of a lab that teaches you how to track full stack errors using Errors Inbox. Now that you've triaged your errors, it's time to manage them.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.