FAQAPMHow can I exclude HTTP status codes in APM error tracking?

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. This option can have array of status codes to be ignored i.e it will not reported as an error to Atatus.

var atatus = require("atatus-node");
  apiKey: "YOUR_API_KEY",
  ignoreStatusCodes: [ 400, 404, 500 ]