New Relic APM's Errors page includes detailed information about error traces. By default, the Error traces table shows the most recent error traces, grouped by transaction name and error class. You can also filter traces, change the sort order, and drill down into more detailed error information for a selected trace, including:
- Stack trace details
- Framework code underlying the stack trace
- Default attributes and custom attributes that relate to the specific occurrence of the error
- The related transaction (via the link to APM's Transactions page)
If you have integrated your ticketing system with New Relic, you can also view related tickets or stories, or file a new ticket or story with that system.
View error trace details
To get a high-level overview of all your applications and services, use the entity explorer in New Relic One.
Go to one.newrelic.com > APM > (select an app), then click the Error rate table's title on your selected app's Summary page.
Go to one.newrelic.com > APM > (select an app) > Events > Errors.
Then, to examine and act on details about an error trace:
- From the Error traces table, review the list of error traces for the selected time period.
- To change the sort order, select any column header.
- To view details about a specific trace, including stack trace and framework code, host, timestamp, URL, and default attributes or custom attributes: From the Error traces table, select the transaction name.
- To view related transaction details: Below the trace detail's error trace name, select the transaction name.
- To share the error trace details, select the ticketing integration link.d Or, to view any tickets already filed from the ticketing integration, select Related tickets.
If the error category does not have any associated trace detail during the time period, the category will appear gray, and you cannot select it. Try removing some error filters or expanding your time window.
Disable error traces
To prevent certain errors from being reported to New Relic, disable them in your agent's configuration file. For most agents, you can ignore certain error codes or disable errors completely. For more information, see your specific agent's configuration documentation:
- C SDK
- Go (not applicable; the agent only reports errors when configured to do so)
Delete error traces
You cannot recover error traces after you delete them.
|If you want to...||Do this...|
|Delete all error traces for your app||
If you have permissions to delete all error traces for an app:
|Delete all error traces for your account||To delete all error traces for your New Relic account, get support at support.newrelic.com.|
|Delete individual error traces||To delete individual error traces, use New Relic APM's Errors page.|
In addition to deleting error traces, you may also want to delete transaction traces or database/slow SQL traces. This will remove potentially sensitive data while retaining your other application data (such as Apdex, deployment information, etc.).