You can remove AppScope by simply deleting the binary (along with the rest of the contents of the scope
directory):
rm -rf /opt/scope/
…and the associated history directory:
cd ~
rm -rf .scope/
Currently scope’d applications will continue to run. To remove the AppScope library from a running process, you will need to restart that process.
If you need AppScope to temporarily stop producing output, you do not need to remove AppScope: you can just use a custom config to mute all events and metrics.