AppDynamics Knowledge Base

Increasing Metric Posting Limits for Machine Agent

Increasing Metric Posting Limits for Machine Agent

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.

Version history
Last update:
‎07-30-2024 02:56 PM
Updated by: