cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


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:
Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

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


Read the blog here