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

Gracefully handled exceptions

g_kat
Helper

Hi,

Inside an Apache Kafka Service, we have a Java method that surrounds the critical code in a try...catch. In case of a caught exception, an error message is logged and the code continues. We are interested in getting the exception information in Dynatrace, but we don't seem to get it out-of-the-box.

I checked about Custom Handled Exceptions, but I'm under the impression that it works only for already registered exceptions in Dynatrace.

Thanks,

George

1 REPLY 1

Hi @g_kat 

You are correct. It works for captured Exceptions.
Dynatrace have list of "Noisy Exceptions" and by default suppresses them (by not capturing).
If Your try cache is using generic exception classes it might fall under one of the rules.
You can find them under: Settings => Server-side service monitoring => Deep Monitoring => Exclude noisy and unnecessary exceptions

MichalOlszewski_0-1712747894692.png

 

I think it should help

Bests
Michal



Featured Posts