30 May 2018 01:59 PM - last edited on 01 Sep 2022 10:44 AM by MaciejNeumann
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.
Solved! Go to Solution.
30 May 2018 09:53 PM
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
30 May 2018 10:09 PM - last edited on 16 Oct 2023 04:01 PM by random_user
Seems there is already a RFE for this. Please upvote
https://community.dynatrace.com/spaces/483/dynatrace...
Thanks
NJ
31 May 2018 06:51 AM
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
31 May 2018 11:32 AM
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
31 May 2018 02:10 PM
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
31 May 2018 02:21 PM
Hi Aleksandar,
That's good to know! I will keep this for reference. I appreciate you getting back to me.
Thanks
NJ