Disable APM Browser Agent Monitoring
You can configure properties to disable monitoring.
In a scenario wherein the APM browser agent has been deployed,
however, when you want to start monitoring at a later time, you can
configure the obs
property from the apmrum
object to disable browser agent monitoring.
When the obs
property is set to 0, nothing gets
monitored.
window.apmrum.obs = 0;
Note that the obs
property is a bit-wise implementation,
where each bit represents a subset of the monitoring. As an alternative to
setting all the bits to re-enable browser agent monitoring, you can set the
following:
window.apmrum.obs = 0xffffffff;