You can add the following code to ignore certain user agents to Atatus
atatus.config('YOUR_API_KEY', {
beforeSend: function (payload) {
// Ignore errors/metrics in following user agents
return !/^(.*PhantomJS.*|.*CloudFlare.*|.+MSIE 8\.0;.+)$/.test(window.navigator.userAgent);
},
}).install();
In the above example, we have ignored Phantom, CloudFare and IE 8 user agents. In the same way you can exclude your own user agents.