cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Filtering Exceptions: wildcard matching

aleksandar_rad1
Newcomer

I am trying to configure the Dynatrace to ignore different exceptions and I wonder:

Is it possible to use wildcard matching to specify different kinds of exceptions to be ignored? For instance, can I tell the Dynatrace to ignore all exceptions having the same package prefix?

Can I do the same for Custom handled exceptions, or I would need to specify the complete list of exceptions.

I tried to specify the base exception class of all my business exceptions as a one to be ignored, but it had no effect on the monitored exceptions.

6 REPLIES 6

nj_njoku
Inactive

Hi Aleksandar,

In my experience, you will have to specify the full class name for each exception you want to ignore including for custom handled exceptions. I do recommend creating a request for enhancement for this to be able to set this using regex rules or if the class contains,ends with, begins with etc.

Thanks

NJ

nj_njoku
Inactive

Seems there is already a RFE for this. Please upvote

https://community.dynatrace.com/spaces/483/dynatrace...

Thanks

NJ

aleksandar_radu
Newcomer

Dear Ugochukwu,

Thank you very much for your feedback and support! It would be great to see this feature available in the future releases of Dynatrace 🙂

Best regards,

Alex

aleksandar_rad1
Newcomer

Dear Ugochukwu,

After talking to our team, we realized it would be quite tedious to enumerate all possible exceptions to be ignored: we are talking about tens, if not hundreds of different exceptions. Is there any strategy that could make our life easier?

Thank you in advance for your support!

Alex

aleksandar_rad1
Newcomer

Dear Ugochukwu,

It turned out that you can use package prefix to filter all exceptions from that package. For instance, if you ignore the value of java.lang, you will ignore all exceptions having that package prefix: java.lang.Runtime, java.lang.anything.SomeException, etc.

Great thanks,

Aleksandar

Hi Aleksandar,

That's good to know! I will keep this for reference. I appreciate you getting back to me.

Thanks

NJ

Featured Posts