By default, Atatus APM captures all HTTP errors (i.e all 4xx and 5xx status codes) except the status code 404. You can change this behavior by setting the array option ignoreStatusCodes. You can refer the documentation here.