12 Sep 2018 05:44 PM - last edited on 07 Mar 2024 08:19 AM by Michal_Gebacki
Hi,
My customer uses OSB and It was defined in your environment the application must return HTTP Status Code 500 in normal cases of business condition error or execption. In addition, applications inserts a tag on http response header with the specific business code error.
Customer doesn't want to filter out all transactions that returns status code 500, because It's possible these transations can to indicate a real service unavailability problem.
Is there any way to configure Dynatrace to filter out and do not consider as transactions failed, when transactions returning http status code 500 come with a flag on http response header indicating It's a business code exception/condition?
I was wondering about to use the Custom Errors settings on service.
Thanks
Reginaldo
Solved! Go to Solution.
13 Sep 2018 07:13 AM
Never tried, but I'd say, you will have to ignore the 500 code and setup the custom error rule - If the bussiness error header does not exists -> trigger failed request.
12 Mar 2020 08:12 PM
You can exclude error codes at the service level with in the edit options on the service:
21 Mar 2020 10:39 PM
Ignoring all HTTP response code requests is at least risky.
24 Jan 2024 02:09 PM
Hi @ChadTurner ,
Is it possible to exclude HTTP 4XX codes from Settings > Failure detection section for the whole tenant?
I've seen it's necessary selecting and attribute and at least one MZ:
But I'm not sure if it's possible to do that for all objects of the tenant as our customer wants to.
Thanks a lot in advance,
Regards,
Elena.