• 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 Mark M. · Apr 12, 2012 at 12:37 AM ·

Exceptions and Capturing the extended data behind it

we capturing the exception class, message, throwing class and throwing method. My question is we frequently add extended data to our exceptions.  Is there a way to expose this in dynatrace?  Meaning they are putting user Id and/or OrgId whenever a exception is being thrown. It helps them troubleshoot the problem much easier. If there another way of getting to this information, we would appreciate that too. If this isn't already been done, then please inform if a RE is needed.

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.

2 Replies

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

Answer by Christian S. · Apr 13, 2012 at 09:30 PM

hi Mark,

in general this would be a very nice RFE, i agree.

however, there is a potential technical problem that comes to my mind:

at what time do you set this exception data?

we collect exceptions by instrumenting the exception constructors. if we don't have this information available at that time, we don't have a chance to collect it with our current approach. so i guess this would not work for you, right?

best,

Christian

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.

avatar image

Answer by Andreas G. · Apr 12, 2012 at 04:48 AM

Mark. When you say you add data to your exception - how is that done? Is it a custom Exception class that contains members that contain that information? Would it be possible to also add this contextual information to the error message itself?

Comment

People who like this

0 Show 4 · 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.

avatar image Mark M. · Apr 12, 2012 at 09:34 PM 0
Share

Actually, we are capturing the exception. We are also seeing the message, but I think they put additional information with the exception occurs that helps them to remediate the issue.  So I didn't see it on a error dashlet.  Another thing, when I go into the purepath, I was able to create a measure and chart it, but when I tried to build a Business Transaction for it, it wasn't capturing any data for it. Here an example of of denied login.  What I'm saying is that they have more information or details around that exception which allows them to which Org the user was trying to access.  In the Purepath for this exception the Argument is "BS0142".

Throwing Class:
XXXXXXXXX.XXX.Security.Authentication
Throwing Method:
Authenticate
Exception Class:
XXXXXXXXX.XXX.Security.SecurityLoginDeniedException
Message:
BS0142

avatar image Andreas G. ♦ Mark M. · Apr 13, 2012 at 01:23 AM 0
Share

Hi Mark

Seems like multiple questions - lets see how I can address them all:
a) The Errors Dashlet shows Errors based on the Error Rules you have configured in your System Profile. Some Exceptions will show up as errors as well as there are some out-of-the-box rules for it. Your exceptions may not yet show up as you need a specific rule for it to also let dynaTrace identify them as Errors. Once you do that you should see your exceptions as well in the Errors dashlet. Clicking on such an error should then show the Exception including the Message value which will contain your OrgValue
b) The Exception Dashlet shows ALL Exceptions that have been identified by dynaTrace - not just those that are also identified as Errors through the Error Rules. Here you should always see all of your exceptions including the Error Message
c) Not every measure can be used for Business Transactions. Depending on the type of BT (Server-Side, Page Action or Visit) you have a different set of PurePath Measures available to use for Filter, Result Value or Splitting. What type of measure did you want to use for your BT?

For BTs I recommend checking out the recently updated documentation "Usage of Business Transactions" and the Recorded Webinar "dynaLearn Webinar - Business Transaction Management - February 2, 2012"

Andi

avatar image Mark M. · Apr 13, 2012 at 04:13 AM 0
Share

What I’m after is having visibility to the additional info that can be added to an Exception class.  This is done via a key/value collection under exception called data.

http://msdn.microsoft.com/en-us/library/system.exception.data.aspx

For example if I right mouse and hit details on an exception, possibly show a section for Additional Info if available…

avatar image Andreas G. ♦ Mark M. · Apr 13, 2012 at 04:21 AM 0
Share

Aaaah - now I get it - thanks for the link.
So - right now there is no support for the Data Collection. I will forward this to the engineering team as I think that this is a great extension to our exception sensor.

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

3 People are following this question.

avatar image avatar image avatar image

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