Gracefully handled exceptions

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

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

I think it should help

Bests
Michal