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.
Ignoring all HTTP response code requests is at least risky.