Configuring Browser Agent Code in the URLs to timeout immediately when DX Experience Collector is down. This will avoid any performance issues for the end-users of the Application.
APM 10.8
DxC 2.5
Jboss Agent with the BrowserAgent Extension 2023.3
Configuration
Basically, configure Browser Agent to use an Apache reverse proxy in front of the DX Collector (a new feature in 23.1 and latest SaaS ).
If the collector (or SaaS) is unavailable, any Apache reverse proxy can be configured to time out faster than a stuck browser to return a 404 and the BA.js is never loaded.
AXA Guide for the reverse proxy settings.