• 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 Srikar M. · Feb 15, 2013 at 01:40 AM ·

dT 4.2 - Filters on Exception Sensor Property doesnt work as expected

Hello,

This is with regards to Exception Sensors.

For an agent group --> under sensor config --> exceptions --> property, we have:

Exclude all but include these:-
javax.faces.application.ViewExpiredException --> Match Equals
org.springframework.webflow.execution.repository.NoSuchFlowExecutionException --> Match Equals

However looking at the exceptions dashlet we are seeing exceptions that include the 2 mentioned above and few others that don't match the definition:
Ex:
com.sun.el.parser.ELParser$LookaheadSuccess
org.apache.el.parser.ELParser$LookaheadSuccess
org.apache.lucene.queryParser.QueryParser$LookaheadSuccess

My understanding is, please correct me, if we configure the exceptions sensor to Exclude All and Include “javax.faces.application.ViewExpiredException” and “org.springframework.webflow.execution.repository.NoSuchFlowExecutionException” then it shouldn’t capture other classes.

While I do have a support case open, just looking for a 2nd opinion. I did check the Exceptions KSP and dint find these classes subscribed there.

Thank you for your help.

Srikar

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.

4 Replies

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

Answer by Christian S. · Feb 25, 2013 at 11:56 AM

hi Srikar,

the rules basically look fine, but there's something i forgot to mention: you see in the exception method rule the pattern '<init>'?
so this pattern is only working for constructors. if you have '<all methods>' as a pattern, it will only handle methods except constructors.

so you basically exclude all methods, but not the constructors from these classes, but we're only interested in them.
so please edit these exclusion method rules and switch the radio button from 'method' to 'constructor'. then you should be all set!

hot sensor placement should be enough, a JVM restart should generally not be needed.

and the active/inactive setting does not matter at all for exclusion rules. it's only important that they are placed!

best,
Christian

Comment

People who like this

0 Show 1 · 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 Srikar M. · Mar 21, 2013 at 06:55 PM 0
Share

Christian, a long overdue THANK YOU for helping me on this.

The only other change (other than changing type to Constructor) was to set the visibility to public/default/private/protected and now we are gathering only the required exceptions.

Once again Thank you for your help.

Srikar

avatar image

Answer by Christian S. · Feb 18, 2013 at 12:28 PM

hi Srikar,

Andi's right, thoser are actually no Exceptions, but Errors. and there was a known issue, which is fixed in dT5.

before dT5, the best way to deal with that would be to place exclude rules (no global exclude rules) in the exception sensor pack at the very beginning (in client debug mode).

best,
Christian

Comment

People who like this

0 Show 1 · 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 Srikar M. · Feb 24, 2013 at 07:28 PM 0
Share

Hi Christian,

Thanks for your input...I tried "exclude" for the different exception classes on the Exception sensor pack and placed it high on the list, then did a hot sensor placement.

However looking at the deployed sensor for the agent (after performing a HSP), we still see those exception classes being subscribed. Dashlet still reports on those excluded classes.

I will try recommending a jvm restart to see if that changes anything.

Thanks,
Srikar

avatar image

Answer by Srikar M. · Feb 15, 2013 at 09:11 AM

Thanks Andi,

Do you think an exclude / global exclude on those exception classes (that we don't want) would work? The end goal being only catching the exceptions from the above mentioned classes.

I will update once support gets back.

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. · Feb 15, 2013 at 08:20 AM

Hi

I do remember a known issue in 4.2 where we didnt exclude these types of Exceptions because they are from a different base type than Throwable. I do believe this was fixed and should work in dT5. But - please get the confirmation from support

Andi

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

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