When the Micro-Agent installation completes, the final step is to attach the Java Micro-Agent to your JVM/application.
Attaching the Micro-Agent can be done using a number of options, depending on whether your JVMs are running inside a container (Docker or Kubernetes) or not.
- If your JVMs are running inside a Docker Container, follow the steps in Attach to a JVM in a Docker Container
- If your JVMs are running inside a Kubernetes Container, follow the steps in Attach to a JVM in a Kubernetes Container
- If your JVMs are not running inside a container, choose the appropriate framework / plugin from the Framework/Plugin List below.
For all attachments, remember that for the Micro-Agent ranking, make sure that the OverOps Micro-Agent is the last
-agentpath argument in your argument list if you are using any other agents with your application in addition to OverOps.
If you're attaching the OverOps Micro-Agent to an environment that's running Java 10 or 11 or any IBM Java version, please follow these guidelines:
When attaching an OverOps Agent to a JVM that is running Java 10 or 11 or any IBM java versions, follow these guidelines:
Turn off Class Sharing: This can be done using the following flags:
for IBM Java
Increase ReservedCodeCache to at least 512mb by adding the following flag
The Agent should appear last in the VM arguments list before specifying the main class or jar.
When adding/removing 3rd party packages, the Agent should be restarted.
Additionally, if you wish to upgrade your own compiler to target Java 10/11, then you'll have to upgrade your Collector (SaaS) or Collector + backend (On-Premises) to support it.
AIX - Statistic Overhead and Performance
When running on an AIX system please add the following parameter to reduce the Statistics Overhead and increase performance
Details can be found in the Micro-Agent Properties
For example path:
Updated over 1 year ago