12 Sep 2018 09:44 AM - last edited on 30 Aug 2022 03:49 AM by MaciejNeumann
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.
Solved! Go to Solution.
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.
You can exclude error codes at the service level with in the edit options on the service:
Ignoring all HTTP response code requests is at least risky.