# Configuration to ignore an exception & Custom alert

**URL:** <https://community.dynatrace.com/t/configuration-to-ignore-an-exception-custom-alert/51688>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, redis, anomaly-detection\
**Created:** [May 19, 2025, 10:11am UTC](https://community.dynatrace.com/t/configuration-to-ignore-an-exception-custom-alert/51688 "2025-05-19T10:11:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![medd](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@medd](https://community.dynatrace.com/u/medd)\
**Post date:** [May 19, 2025, 10:11am UTC](https://community.dynatrace.com/t/configuration-to-ignore-an-exception-custom-alert/51688/1 "2025-05-19T10:11:24Z")

</div>

Hello everyone,

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

 ![mohamedd_0-1747649000312.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f314b9c95ab1a6390df2a9a3a5ce323896253693.png)

And here is the service error example :

 ![mohamedd_1-1747649031245.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/d/8d3f1725c78356b30b5f8604bcc88693a5b1704b.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!

---

<div class="post-metadata">

**Author:** ![rodrigo\_alvare1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rodrigo_alvare1/32/1927_2.png) [@rodrigo\_alvare1](https://community.dynatrace.com/u/rodrigo_alvare1)\
**Post date:** [May 20, 2025, 1:42pm UTC](https://community.dynatrace.com/t/configuration-to-ignore-an-exception-custom-alert/51688/2 "2025-05-20T13:42:17Z")

</div>

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&nbsp;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&nbsp; **Success forcing exceptions**.

> **[Configure service failure detection in Service Detection v1](https://docs.dynatrace.com/docs/observe/application-observability/services/service-detection/service-detection-v1/configure-service-failure-detection)**
>
> Discover which service error types Dynatrace automatically detects and learn how to adjust failure detection settings to meet your specific requirements.

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

> **[Configure service detection rules in Service Detection v1](https://docs.dynatrace.com/docs/observe/application-observability/services/service-detection/service-detection-v1/customize-service-detection)**
>
> Use detection rules to customize and enhance the automated detection of your services.

---

<div class="post-metadata">

**Author:** ![medd](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@medd](https://community.dynatrace.com/u/medd)\
**Post date:** [May 21, 2025, 7:20am UTC](https://community.dynatrace.com/t/configuration-to-ignore-an-exception-custom-alert/51688/3 "2025-05-21T07:20:34Z")

</div>

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.
