cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Abhi.Bajaj
AppDynamics Team

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:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here