Add New Custom Metrics
To create custom metrics, you create a monitoring extension. In your extension, you define the name and path of your metric (where it appears in the metric browser tree), what type of metric it is (sum, average, and so on), and how the data for the metric should be rolled up as it ages. Any custom metric reported to the Controller through any mode must be reported at least once every 300 seconds (five minutes). One Agent can run many extensions, although you may need to increase the amount of memory for the JVM Agent. You can have multiple copies of the same extension if they are in different directories.
A custom metric can be common across nodes or associated with a specific tier. When you create a metric, you specify the path in which it will appear in the metric tree. To create a common custom metric, use the root tree path Custom Metrics in your metric declaration. To create a tier-specific metric, specify the metric path associated with that component.
If your application uses a large number of Splunk AppDynamics extensions with the Machine Agent, you may need to increase the size of the memory allocation:
% <machine_agent_home>/bin/machine-agent -Xms64m
> <machine_agent_home>\bin\machine-agent.cmd -Xms64m