New Relic APM's Error analytics 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 from New Relic Insights that relate to the specific occurrence of the error
- The related transaction (via the link to New Relic 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.
Access to this feature depends on your subscription level.
View error trace details
To get a high-level overview of all your applications and services, use the entity explorer in New Relic One.
To examine and act on details about an error trace:
Go to New Relic APM's Error analytics page.
- In New Relic One
Go to one.newrelic.com > Entity explorer > (select an app), then click the Error rate table's title for your selected app.
Go to one.newrelic.com > Entity explorer > (select an app) > Explore performance > Error analytics.
For more information, see the documentation about navigating core UI components in New Relic One.
- In New Relic APM
Go to rpm.newrelic.com/apm > (select an app) > Events > Error analytics.
- Go to rpm.newrelic.com/apm > (select an app) > Monitoring > Overview, then click the Error rate table's title for your selected app.
Use any of New Relic's standard page functions to drill down into detailed information.
- 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 New Relic Insights: 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. Or, to view any tickets already filed from the ticketing integration, select Related tickets.
- To return to the Error analytics page, select Errors.
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||
Owner, Admins, or add-on managers
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.).