Atatus captures all urls automatically. If you don't want to capture performance metrics only from set of domains or urls, then you can ignore them either with ignoreUrls
option or setIgnoreUrls
function.
atatus.config('YOUR_API_KEY', {
ignoreUrls: [
'collector.jslogging.com',
'www.thridparty.com/api'
]
}).install();
copy
atatus.setIgnoreUrls([
'collector.jslogging.com',
'www.thridparty.com/api'
]);
copy
atatus.setIgnoreUrls([
/^((?!jslogging.com|thridparty.com).)*$/g
]);
In the ignore url option or function, you can pass array of string and regex.