cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Configuration to ignore an exception & Custom alert

medd
Frequent Guest

 

Hello everyone,

I'm attempting to ignore a specific Redis exception in one of my services. Below is my configuration:

mohamedd_0-1747649000312.png

And here is the service error example :

mohamedd_1-1747649031245.png

The custom alert is set up based on a standard failure rate threshold, yet I'm still encountering issues with this exception despite implementing the exclusion rule. Does anyone have any insights on what might be wrong with this configuration?

Thank you in advance!

2 REPLIES 2

rodrigo_alvare1
Dynatrace Champion
Dynatrace Champion

Hi,

I would check a couple of things:
- Where are you adding the ignore rule? Is it on the "Request to unmonitored hosts" or in the Springboot that is calling to the Redis service?
When it is flagged as a ignore exception it will still capture the info and show it on the transaction, but it just won't mark the request as failed.

- Is it returning any 4xx/5xx error?
As if the HTTP response code for the same call shows an error, Dynatrace considers the request as failed. To consider a request successful regardless of the HTTP error code or any other information, see Success forcing exceptions.

https://docs.dynatrace.com/docs/observe/applications-and-microservices/services/service-monitoring-s...


In a side note, probably you would like to separate those Redis calls from the "Request to unmonitored host" to create a separated Service

https://docs.dynatrace.com/docs/observe/applications-and-microservices/services/service-detection-an...

Thank you, Rodrigo.

yes, the return code was 500, which Dynatrace considers as a failure.

I've deleted the custom alert and let Davis to raise an alert only when there is an actual failure.

Featured Posts