<?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>topic Re: Deal with HTTP 500 Internal Server Error as an controlled errors in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165841#M2455</link>
    <description>&lt;P&gt;In the error detection settings for a given service you have some options. One option is to change the HTTP status code settings to not consider 500s an error but odds are you don't want this if it is only certain cases where the 500 is 'controlled.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your best bet is to see if you can find the underlying exception that causes the 500 to be sent and then add it as a 'client abort' exception. This is like 'ignore exceptions' but will also override error status codes being returned. Basically, if we see such an exception that PurePath won't be marked as failed no matter what.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monitoring-settings/configure-service-error-detection/#expand-client-abort-exceptions-2334" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monitoring-settings/configure-service-error-detection/#expand-client-abort-exceptions-2334&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 12:49:35 GMT</pubDate>
    <dc:creator>JamesKitson</dc:creator>
    <dc:date>2021-05-12T12:49:35Z</dc:date>
    <item>
      <title>Deal with HTTP 500 Internal Server Error as an controlled errors</title>
      <link>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165823#M2454</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we've one application sending HTTP 500 Internal Server Error &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;when we are dealing with a controlled error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a common bad practice but this application is consumed by several clients and is not so easy for us to change the &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;behaviour&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dynatrace raises problems for these HTTP 500 Internal Server Error&amp;nbsp; (as usual) but they are not "real" errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, there's any option in Dynatrace to obviate these HTTP 500 Internal Server Error in the problems and not raise problems in this kind of HTTP 500 Internal Server Error (maybe based on some exceptions or messages)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Josep Maria&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 10:34:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165823#M2454</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2021-05-12T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deal with HTTP 500 Internal Server Error as an controlled errors</title>
      <link>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165841#M2455</link>
      <description>&lt;P&gt;In the error detection settings for a given service you have some options. One option is to change the HTTP status code settings to not consider 500s an error but odds are you don't want this if it is only certain cases where the 500 is 'controlled.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your best bet is to see if you can find the underlying exception that causes the 500 to be sent and then add it as a 'client abort' exception. This is like 'ignore exceptions' but will also override error status codes being returned. Basically, if we see such an exception that PurePath won't be marked as failed no matter what.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monitoring-settings/configure-service-error-detection/#expand-client-abort-exceptions-2334" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-monitoring-settings/configure-service-error-detection/#expand-client-abort-exceptions-2334&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:49:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165841#M2455</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2021-05-12T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deal with HTTP 500 Internal Server Error as an controlled errors</title>
      <link>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165846#M2456</link>
      <description>&lt;P&gt;Thanks, good solution!&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 13:05:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Deal-with-HTTP-500-Internal-Server-Error-as-an-controlled-errors/m-p/165846#M2456</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2021-05-12T13:05:43Z</dc:date>
    </item>
  </channel>
</rss>

