FAQBrowser MonitoringHow do I send performance and error data only from specific domains?

There is an option to whitelist domains in Atatus configuration, and atatus will only transmit error and performance metrics only from these domains. The whitelist domain configuration accepts the list of domains as an array of strings:

atatus.config('YOUR_API_KEY', { allowedDomains: ['www.acme.com', 'api.acme.com', 'api.other.com'] }).install();

Note that, you need to add "api.acme.com" in your allowed domains if you want to capture metrics of AJAX calls over "api.acme.com".

Important: If you want to allow all your sub domains, then you can just include your domain name like [ "acme.com" ].