<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Disable/Exclude Response status code and Exception which is not required as Failure in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Disable-Exclude-Response-status-code-and-Exception-which-is-not/ta-p/261049</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1 id="toc-hId-1847627537"&gt;&lt;SPAN&gt;Summary&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;HTTP status code alerting using different options&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--704529424"&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;In some cases, alerts are not wanted for failure rates that have a specific response status code and/ or exception, but misconfiguration can also mean that alerts unexpectedly occur. Below are some scenarios for defining the Failure detection rule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-1038280911"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H1&gt;
&lt;H2&gt;Failure detection rule using Global Settings&lt;/H2&gt;
&lt;P&gt;This&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection#failure-detection-settings" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; explains how to set up failure detection.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Now let’s understand if we only want to get Failure rate alert for specific response code(server side or Client side) define the response code as below screenshot.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_0-1730268555447.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24271iEC8732DE2EFA21BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_0-1730268555447.png" alt="chiranjitdutta_0-1730268555447.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you see above example, I have defined status code for which I only want failure rate should detect. For the missing or not defined status will be skipped or will not include in failure.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: In both HTTP Response Code fields, you can also add 4xx or 5xx codes only if you see that your request calls have those errors in Server side or Client side. &amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_1-1730268555449.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24272i006751DA1A7792EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_1-1730268555449.png" alt="chiranjitdutta_1-1730268555449.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;There are some cases where you are still getting Failure rate because the Status code is having an exception, which should also be either IGNORED or should be treated as SUCCESS. For that, you would need to define the list of exceptions that should not be a failure. You can add the exceptions in either of the configurations.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_2-1730268555453.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24270i998127B2E96DBDCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_2-1730268555453.png" alt="chiranjitdutta_2-1730268555453.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;After you have defined the Parameters, next would be to set the Failure Detection rule which is important when applying it in global settings. If this is not applied, then Global settings will not be applied.&lt;/LI&gt;
&lt;LI&gt;For this, you would need to go to Settings---&amp;gt; Server-Side Service Monitoring----&amp;gt; Failure Detection Rule. In that you need to first add the Failure Detection Parameter which you have created, and then you need to add the Conditions(second screenshot)&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_3-1730268555454.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24274i41B73BB65A6B911D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_3-1730268555454.png" alt="chiranjitdutta_3-1730268555454.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_4-1730268555457.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24273i905D3B4E62C5DF6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_4-1730268555457.png" alt="chiranjitdutta_4-1730268555457.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Based on the above conditions, the Failure detection rule will be applied. This is helpful when you only want to apply to a specific set of services either using TAG, MZ or PG name, etc.&lt;/LI&gt;
&lt;LI&gt;Once it's applied based on the condition, you will see that this rule is also applied into those specific services.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_5-1730268555474.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24275iFB990DCA0BA7CED5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_5-1730268555474.png" alt="chiranjitdutta_5-1730268555474.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Few example from the traces where it shows Failure rate before and after applying.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Before Failure rate detection Rule:&lt;/U&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_6-1730268555480.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24278iB3D016AC548450D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_6-1730268555480.png" alt="chiranjitdutta_6-1730268555480.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;After Failure rate detection rule&lt;/U&gt;:&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_7-1730268555487.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24277i77D70F8EEAEFC035/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_7-1730268555487.png" alt="chiranjitdutta_7-1730268555487.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Failure rate detection on Service level&lt;/H2&gt;
&lt;P&gt;This&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection#failure-detection-settings" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; explains how to setup failure detection on Service level.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When setting Failure detection rule on Service level, the Global Rule will not be applied here for HTTP status code as well as General Parameter(Exceptions).&lt;/LI&gt;
&lt;LI&gt;Now the general use case would be to apply the Failure detection rule on service similar to Global settings, but you might want that HTTP status code should be applied as per Global level or Exception should apply from Global rule (EITHER/OR).&lt;/LI&gt;
&lt;LI&gt;For this, you need to make sure that “OVERRIDE GLOBAL FAILURE DETECTION SETTINGS” is either Turned ON or OFF as per your requirements. Based on this conditions, the rules will get applied.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_8-1730268555487.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24276i28D400FA5BCEB1B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_8-1730268555487.png" alt="chiranjitdutta_8-1730268555487.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Rest the HTTP response status code and Exception can be defined similar to Global settings.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_9-1730268555488.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24279i3EA3B3A80E3659E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_9-1730268555488.png" alt="chiranjitdutta_9-1730268555488.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--1513876050"&gt;&lt;STRONG&gt;What's next&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Tenant/Environment Link with affected service details&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 09 Jul 2025 14:05:33 GMT</pubDate>
    <dc:creator>chiranjitdutta</dc:creator>
    <dc:date>2025-07-09T14:05:33Z</dc:date>
    <item>
      <title>Disable/Exclude Response status code and Exception which is not required as Failure</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Disable-Exclude-Response-status-code-and-Exception-which-is-not/ta-p/261049</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1 id="toc-hId-1847627537"&gt;&lt;SPAN&gt;Summary&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;HTTP status code alerting using different options&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--704529424"&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;In some cases, alerts are not wanted for failure rates that have a specific response status code and/ or exception, but misconfiguration can also mean that alerts unexpectedly occur. Below are some scenarios for defining the Failure detection rule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId-1038280911"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H1&gt;
&lt;H2&gt;Failure detection rule using Global Settings&lt;/H2&gt;
&lt;P&gt;This&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection#failure-detection-settings" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; explains how to set up failure detection.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Now let’s understand if we only want to get Failure rate alert for specific response code(server side or Client side) define the response code as below screenshot.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_0-1730268555447.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24271iEC8732DE2EFA21BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_0-1730268555447.png" alt="chiranjitdutta_0-1730268555447.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you see above example, I have defined status code for which I only want failure rate should detect. For the missing or not defined status will be skipped or will not include in failure.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: In both HTTP Response Code fields, you can also add 4xx or 5xx codes only if you see that your request calls have those errors in Server side or Client side. &amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_1-1730268555449.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24272i006751DA1A7792EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_1-1730268555449.png" alt="chiranjitdutta_1-1730268555449.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;There are some cases where you are still getting Failure rate because the Status code is having an exception, which should also be either IGNORED or should be treated as SUCCESS. For that, you would need to define the list of exceptions that should not be a failure. You can add the exceptions in either of the configurations.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_2-1730268555453.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24270i998127B2E96DBDCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_2-1730268555453.png" alt="chiranjitdutta_2-1730268555453.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;After you have defined the Parameters, next would be to set the Failure Detection rule which is important when applying it in global settings. If this is not applied, then Global settings will not be applied.&lt;/LI&gt;
&lt;LI&gt;For this, you would need to go to Settings---&amp;gt; Server-Side Service Monitoring----&amp;gt; Failure Detection Rule. In that you need to first add the Failure Detection Parameter which you have created, and then you need to add the Conditions(second screenshot)&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_3-1730268555454.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24274i41B73BB65A6B911D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_3-1730268555454.png" alt="chiranjitdutta_3-1730268555454.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_4-1730268555457.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24273i905D3B4E62C5DF6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_4-1730268555457.png" alt="chiranjitdutta_4-1730268555457.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Based on the above conditions, the Failure detection rule will be applied. This is helpful when you only want to apply to a specific set of services either using TAG, MZ or PG name, etc.&lt;/LI&gt;
&lt;LI&gt;Once it's applied based on the condition, you will see that this rule is also applied into those specific services.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_5-1730268555474.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24275iFB990DCA0BA7CED5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_5-1730268555474.png" alt="chiranjitdutta_5-1730268555474.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Few example from the traces where it shows Failure rate before and after applying.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Before Failure rate detection Rule:&lt;/U&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_6-1730268555480.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24278iB3D016AC548450D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_6-1730268555480.png" alt="chiranjitdutta_6-1730268555480.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;After Failure rate detection rule&lt;/U&gt;:&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_7-1730268555487.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24277i77D70F8EEAEFC035/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_7-1730268555487.png" alt="chiranjitdutta_7-1730268555487.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Failure rate detection on Service level&lt;/H2&gt;
&lt;P&gt;This&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection#failure-detection-settings" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; explains how to setup failure detection on Service level.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When setting Failure detection rule on Service level, the Global Rule will not be applied here for HTTP status code as well as General Parameter(Exceptions).&lt;/LI&gt;
&lt;LI&gt;Now the general use case would be to apply the Failure detection rule on service similar to Global settings, but you might want that HTTP status code should be applied as per Global level or Exception should apply from Global rule (EITHER/OR).&lt;/LI&gt;
&lt;LI&gt;For this, you need to make sure that “OVERRIDE GLOBAL FAILURE DETECTION SETTINGS” is either Turned ON or OFF as per your requirements. Based on this conditions, the rules will get applied.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_8-1730268555487.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24276i28D400FA5BCEB1B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_8-1730268555487.png" alt="chiranjitdutta_8-1730268555487.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Rest the HTTP response status code and Exception can be defined similar to Global settings.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chiranjitdutta_9-1730268555488.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24279i3EA3B3A80E3659E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chiranjitdutta_9-1730268555488.png" alt="chiranjitdutta_9-1730268555488.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="toc-hId--1513876050"&gt;&lt;STRONG&gt;What's next&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;&lt;SPAN&gt;If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Tenant/Environment Link with affected service details&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jul 2025 14:05:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Disable-Exclude-Response-status-code-and-Exception-which-is-not/ta-p/261049</guid>
      <dc:creator>chiranjitdutta</dc:creator>
      <dc:date>2025-07-09T14:05:33Z</dc:date>
    </item>
  </channel>
</rss>

