In case you don't want to use OneAgent inside a particular Java (or other) process, you can easily disable Dynatrace monitoring for individual hosts, process groups, or applications:
If you use configuration management tools like Puppet or Ansible, you can alternatively stop the OneAgent service using the shell command. The oneagent
service script is located in <INSTALL_PATH>/agent/initscripts/
.
To stop OneAgent, use root privileges and execute the oneagent
service script with the stop
parameter.
If you stop OneAgent service, monitoring will be disabled until the service is restarted.
To start OneAgent, use root privileges and execute the oneagent
service script with the start
parameter.
Learn more about how OneAgent interacts with your OS.