Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How to show error events

nrql

#1

I am trying to create an error dashboard for my set of apps. I want to show all the errors happened in last 1 week. I am trying to get the errors from the events.
Can you please give me some clue on the NRQL query to be used to get the errors and its details from the events?

ANy help on this will be greatly appreciated


#2

The error information available in Insights depends on which language agents you’re using. Please see our documentation on Default APM Attributes for details.

That being said, I’d recommend the following query for your use case.

SELECT * FROM Transaction WHERE errorMessage IS NOT NULL OR errorType IS NOT NULL SINCE 1 week ago LIMIT 1000

This will show you the 1000 most recent events in the last week that had error information recorded.


#3

I was able to get the error from the transaction, but that doesnt give me the error details. I want the error details… How can I get that?


#4

We are using .net agents


#5

@amal_thomas - It sounds like you are looking for an error or exception’s stack trace? Right now only the status code and exception class is sent to Insights. You’ll need to examine the exception’s error trace in New Relic APM to see the stack trace. However, if that’s what you are looking for I can make a feature request to support that level of detail in Insights.


#6

Yes I was looking for the error stack trace from the insight so that I can give more details to my Team. How much time it will take for this new feature implementation? Also can I have a workaround for the time being?


#7

Hi @amal_thomas . You might be interested in signing up for our new APM Errors Beta. This will give you a lot more details into your error traces and lets you filter your errors based on collected attributes. These will also become query-able within Insights as well. Check it out and let us know what you think! :smile:


split this topic #8

A post was split to a new topic: Error Events Parameters