Configuring JVM Options to Increase Metric Limits in Machine Agent
By default, the Machine agent posts 450 metrics every minute. However, this limit can easily get hit when you configure custom extensions, you have a huge number of processes running on your VM or your OS has increased churn.
To fix this, we need to add below JVM
-Dappdynamics.agent.maxMetrics=1000
This JVM will increase the metrics the Machine agent will publish on every POST to the controller.
To pass this on to Linux you can simply start a Machine agent with this JVM.
For example:
java -Dappdynamics.agent.maxMetrics=2500 -jar machineagent.jar
On Windows, you can edit the MachineAgentService.vmoptions file located in <MA-Home>/bin folder and restart the Machine Agent.