• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Ian T. · Jul 21, 2015 at 04:19 PM ·

Errors & Exceptions profiling

Hi All,

I'm working on an opportunity whereby they have loads of exceptions that are thrown with long error messages.  Contained within that error message is a unique id - like "DC011".  These exceptions regardless of the error message are grouped under the 'Unhandled Exceptions' category.  Once you click on that, you then get the breakdown in the table below and this lists all the unique error messages that has been seen.

What we would like to do is:

-Chart each individual error message to get the number over time - ie how many "DC011" errors have we seen.

-Provide the top 10 error messages - ie "DC011" was the highest, followed by "DC012" etc.

However, the charting options we have is to chart the whole of the "Unhandled exceptions" rather than each individual error message.  I've looked at creating an exception measure but that doesn't seem to provide this either.  The only option I can think of is to instrument their exception method (they have their own that is called when an error is thrown and this contains the error message as an argument) and then create a BT method sensor on it to get the the unique error code from the error message using a regex.  This can then be fed into a BT which can then split it based on that unique error code.  

Just wondering if I'm missing something obvious here with the errors dashlet but this is the only way I can think of to meet this objective!

Thoughts?

Ian.

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Graeme W. · Jul 21, 2015 at 07:42 PM

Ian,

It looks like you are looking at the Errors dashboard.  If that is correct, you can get more detail by right-clicking on the "Exceptions" heading and selecting Drill Down --> Exceptions.  That will give you more detail, including counts.

To get a report on just the most common exceptions, open a new dashboard (the third icon in the toolbar), click on add dashlet (the fourth icon on the toolbar) and double-click on Exceptions.  When the dashboard opens, right-click on the Exceptions tab and select "Edit Filter".  When the dialog box opens, go to the "Top X" tab and set whatever values you want, making sure to set the "Enable ratings-based filtering" check box.

To create a measure so you can charts exceptions, right-click on an exception on the Exceptions dashlet and select "Create measures ...".  You see that you have some options for counting exceptions individually or in groups (e.g., message fountains DC – or message contains DC10).  You can also create the measures from the system profile, if that's easier.

-- Graeme

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A